home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / BBS / NEFD233.ZIP / NEF.DOC < prev    next >
Encoding:
Text File  |  1996-03-13  |  113.9 KB  |  2,919 lines

  1.                 
  2.         **************************************************************
  3.         *                                                            *
  4.         *                                                            *
  5.         *                   **   ** ******* *******                  *
  6.         *                   ***  **  **   *  **   *                  *
  7.         *                   **** **  ** *    ** *                    *
  8.         *                   ** ****  ****    ****                    *
  9.         *                   **  ***  ** *    ** *                    *
  10.         *                   **   **  **   *  **                      *
  11.         *                   **   ** ******* ****                     *
  12.         *                                                            *
  13.         *                                                            *
  14.         *                        Version 2.33                        *
  15.         *                                                            *
  16.         *      File Distribution for "BinkleyTerm Style" Systems     *
  17.         *                                                            *
  18.         *                                                            *
  19.         **************************************************************
  20.         *                                                            *
  21.         *       (C) Copyright 1991-1996  by  Alberto Pasquale        *
  22.         *                                                            *
  23.         *           A L L   R I G H T S   R E S E R V E D            *
  24.         *                                                            *
  25.         **************************************************************
  26.         
  27.         
  28.             "BinkleyTerm" is trademark of Bit Bucket Software, Co.
  29.         
  30.         
  31.  
  32.                 NEF 2.33 User's Manual, by Alberto Pasquale
  33.         
  34.         
  35.         
  36.                 
  37.                                   INTRODUCTION
  38.         
  39.         
  40.         -> For licensing information, please see License.Doc.
  41.         
  42.         Thanks for evaluating NEF: a "New Echo Files" distribution
  43.         system.
  44.         
  45.         
  46.                 
  47.                                  Main Features
  48.         
  49.         
  50.         - It works on systems with a Binkley Style outbound and
  51.           *.MSG or Squish message base.
  52.         
  53.         - File Import/Forward/Hatch via the standard .TIC system,
  54.           initially implemented by Tick.
  55.         
  56.         - File "Areafix", to automatically link/unlink file areas via
  57.           netmail messages. Wildcards can be used to make multiple
  58.           link/unlink requests easier.
  59.         
  60.         - Support for "FileBone.Na style" files.
  61.         
  62.         - Automatic forwarding of requests for missing areas to the
  63.           uplinks.
  64.         
  65.         - Fast Squish netmail scan.
  66.         
  67.         - Flexible file announcements via echo or netmail messages.
  68.           Wildcards in file area tags allow easy configuration of
  69.           multiple announcement areas for different groups of file
  70.           areas.
  71.         
  72.         - Full multitasking support. File sharing problems are handled
  73.           wherever necessary.
  74.         
  75.         - Full 4D operation; no direct support for ancient pointnet
  76.           addressing method. However points addressed via pointnet can
  77.           obviously be seen with their pointnet adress.
  78.         
  79.         - Different outbounds for different domains are supported the
  80.           same way as in Squish, via zone mapping.
  81.         
  82.         - Very flexible MultiAka support. You can use different
  83.           addresses in different areas, different addresses for
  84.           different downlinks in the same area, etc.
  85.         
  86.         - Outbound analysis and report to message areas and/or file.
  87.         
  88.         - "Passthru" Area support.
  89.         
  90.         - Long Description ("LDESC" keyword) support.
  91.         
  92.         - Multiple "Desc" support.
  93.         
  94.         - Multi-line description support for Files.Bbs.
  95.         
  96.         - EchoToss.Log support.
  97.         
  98.         - Automatic creation of new areas from authorized uplinks.
  99.         
  100.         - Automatic linking of specified downlinks to selected new
  101.           areas when they are automatically created.
  102.         
  103.         - Check on imported description strings, to avoid trojan horses
  104.           using certain control characters.
  105.         
  106.         - Clean and compact link configuration file.
  107.         
  108.         - Easy addition (on area TAG basis) of text strings at the head
  109.           of imported descriptions, to allow inclusion of flags and
  110.           download counters in selected areas.
  111.         
  112.         - Easy partial/total area split/merge: you can forward
  113.           certain files to a new area TAG.
  114.         
  115.         - Support for Maximus 3.xx FileBase: when the file areas
  116.           are modified the filebase is internally updated (no need for
  117.           external FB/FBP).  The additional UniFiles.Idx (with no
  118.           duplicates) created by QFB (my FB/FBP substitute) is also
  119.           maintained.
  120.         
  121.         - Automatic addition of new areas to the Maximus 3.xx
  122.           configuration.
  123.         
  124.         - Support for Squish configuration file, to get the
  125.           information about path, type and primary address of message
  126.           areas directly from it.
  127.         
  128.         - (OS/2) Support for "Feature DLLs": developers can find the
  129.           necessary Header file and an example C source included in
  130.           the NEF package (Nefeat.H, Feature.C, Feature.Dll).
  131.         
  132.         
  133.                 
  134.                                     CREDITS
  135.         
  136.         "BinkleyTerm" is a trademark of Bit Bucket Software Co.
  137.         
  138.         This program uses the Squish "MsgAPI" code, Copyright 1991-1994
  139.         by Lanius Corporation. "Squish" and "Maximus" are trademarks of
  140.         Lanius Corporation.
  141.         
  142.         "Tick" is Copyright by Barry Geller
  143.         
  144.         The archivers referred-to throughout this documentation are
  145.         Copyright and/or trademarks of the respective owners.
  146.  
  147.         
  148.         
  149.                 
  150.                                OVERALL OPERATION
  151.         
  152.         
  153.         When invoked, first of all NEF looks into the netmail area(s)
  154.         for netmail messages to the Link Robot (Areafix like) and
  155.         executes the commands required; then it looks for new .TIC files
  156.         in the netfile area(s) and forwards them.
  157.         
  158.         The ingoing files are moved to their destination directory and
  159.         the description is appended to the files.bbs.
  160.         
  161.         A careful check is operated on the text of the description, to
  162.         avoid trojan horses that use special control characters.
  163.         
  164.         Existing old descriptions for the ingoing files are deleted.
  165.         
  166.         If the Replaces field is present in the ingoing .TIC (and the
  167.         function is not disabled in NEF.CFG), the pertinent file is
  168.         erased and its description removed from the files.bbs.
  169.         
  170.         The forwarded TICs will have a new Path line with UTC time of
  171.         forward and updated SeenBys; Points are not included in the
  172.         SeenBys of TICs addressed to other links, to avoid unnecessarily
  173.         huge lists of SeenBys.
  174.         
  175.         The .BSY support avoids conflicts in the outbound, while
  176.         possible conflicts in the access to files.bbs are minimized by
  177.         waiting several seconds before giving up.
  178.         
  179.         Finally, NEF writes the announcements of the received files;
  180.         each message is limited (before splitting) to the maximum size
  181.         specified with the "MsgSize" statement (default is 12KB to avoid
  182.         problems with old mail processors).
  183.         
  184.         Conflicts on the message base are handled by the Squish MsgAPI.
  185.         
  186.         When the Maximus FileBase support is enabled, a mutual exclusive
  187.         semaphore flag "FileBase.Bsy" is used to avoid concurrent access
  188.         and modification of the filebase by other ApWorks programs.
  189.         There is no need to delete this flag if it remains after a power
  190.         failure or abnormal termination (ApWorks programs are smart
  191.         enough to realize whether the flag is really in use or not).
  192.         
  193.         
  194.                 
  195.                              From Address Selection
  196.         
  197.         The algorythm to choose the "From" address for the TIC files is:
  198.         
  199.         If an aka ovverride is present in the "FileArea" definition
  200.            then use FileArea aka override
  201.         else if an aka override is present in the "FileLink" definition
  202.            then use FileLink aka override
  203.         else if the destination zone matches an "Address" statement
  204.            then use the zone-matching address
  205.         else
  206.            use the primary (first) "Address" statement.
  207.         
  208.         
  209.         
  210.                 
  211.                               Description Handling
  212.         
  213.         The TIC files can contain "Desc" and "LDesc" lines. Usually the
  214.         description contained in "Desc" line(s) is short and
  215.         unformatted, while that carried by the "LDesc" lines is long,
  216.         multi-line and formatted.
  217.         
  218.         For the announcements, the longest one is selected.
  219.         
  220.         For the Files.Bbs: if MultiLineDesc support is enabled, the
  221.         longest description is used, otherwise the "Desc" one.
  222.         
  223.  
  224.         
  225.         
  226.         
  227.                 
  228.         
  229.                                   INSTALLATION
  230.         
  231.         
  232.         1) There are 2 versions of NEF: OS/2 and DOS/32, distributed in
  233.            different archives. The main program is always named NEF.EXE:
  234.            please make sure you have the correct version.
  235.         
  236.         2) Edit your Nef.Cfg.
  237.            You can find useful examples in the NEF_*.Cfg files and
  238.            detailed information in the "CFG REFERENCE" section of this
  239.            documentation.
  240.         
  241.         3) Edit your batch file in order to call NEF whenever you would
  242.            like to test for the presence of .TIC files in your inbounds
  243.            and process them. If you do not pass a different pathname as
  244.            a command line parameter, Nef.Cfg must reside in the current
  245.            directory.
  246.         
  247.         4) (OS/2): Make sure you have the MSGAPI32.DLL in a directory
  248.              contained in your LIBPATH and the PmHatch.Exe program in
  249.              your PATH. MSGAPI32.DLL can be found in the Squish 1.11
  250.              archive.
  251.         
  252.            (DOS): Make sure you have the DOS4GW.EXE Dos extender (from
  253.              Rational System Inc.) in your path.
  254.         
  255.              The DOS4GW extender requires an XMS or DPMI memory driver
  256.              installed in your config.sys: e.g. HIMEM.SYS, QEMM (by
  257.              QuarterDeck Office Systems Inc.).
  258.         
  259.         5) In order to have a correct UTC time specification in your
  260.            outgoing TICs, please note that you must have the environment
  261.            variable "TZ" correctly set in config.sys (OS/2) or
  262.            autoexec.bat (DOS).
  263.         
  264.            E.g. for Central European Time (CET):
  265.         
  266.              SET TZ=CET-01 (winter, "normal" solar time)
  267.              SET TZ=CET-02 (summer, daylight saving time).
  268.         
  269.            E.g. for USA East Coast:
  270.         
  271.              SET TZ=EST5EDT
  272.         
  273.              Eastern time is 5h less than UTC and Daylight saving
  274.              applies with the "standard rule" from the first sunday o
  275.              april to the last sunday of october.
  276.         
  277.            More complicate expressions might be used to specify
  278.            automatic change to and back from daylight saving, if a fixed
  279.            rule is available.
  280.         
  281.            E.g. for Italy: daylight is 1h ahead from the last sunday of
  282.            march to the last sunday of september.
  283.         
  284.              SET TZ=CET-01CDT,M3.5.0,M9.5.0
  285.         
  286.            (See a C manual for further details).
  287.         
  288.  
  289.         
  290.                 
  291.         
  292.                        Command Line OPTIONS and SWITCHES
  293.         
  294.         
  295.         To get help about the command line syntax, use the "-h" or "-?"
  296.         command line switch: type "NEF -h" or "NEF -?".
  297.         
  298.         The following forms are available:
  299.         
  300.           NEF [<sw>]
  301.           NEF [<sw>] NOTIFY [<adr> ...]
  302.           NEF [<sw>] OUT|OUTVIEW [<file>]
  303.           NEF [<sw>] CLEAN
  304.           NEF [<sw>] HATCH|MATCH|CATCH|SEND
  305.           NEF [<sw>] HATCH|MATCH|CATCH <name>[/<repl>] <TAG> [<desc>] [@DIZ]
  306.         
  307.         where:
  308.         
  309.           <sw> is one or more of:
  310.           
  311.             -c<cfg>   Use <cfg> as configuration file instead of the
  312.                       default "Nef.Cfg".
  313.         
  314.                       Example: "Nef -ce:\cfg\nef2.cfg"
  315.         
  316.         
  317.             -d<adr>   Hatch to <adr> only.
  318.         
  319.                       If you Hatch/Catch/Match/Send a file with the
  320.                       -d<adr> command line switch, it is sent to <adr>
  321.                       only.
  322.         
  323.                       <adr> can be any 4D address: in the case it is
  324.                       defined as a link in the matching "FileArea" or
  325.                       even only as a "FileLink", the specified akas,
  326.                       password and switches are applied.
  327.         
  328.                       If, on the contrary, <adr> is a unknown address,
  329.                       the Hold flavour is used, no password is put in
  330.                       the TIC and the "from" aka is derived from an
  331.                       aka-match on the zone.
  332.         
  333.                       Example: "Nef -d2:332/589 hatch"
  334.         
  335.         
  336.             -h or -?  Help.
  337.         
  338.         
  339.             -k        Keep local files (do not Replace,
  340.                       for Match/Catch).
  341.         
  342.         
  343.             -l<log>   Use <log> as logfile instead of the one specified
  344.                       via the "StatusLog <log>" configuration statement.
  345.         
  346.                       Example: "Nef -le:\cfg\nef.log"
  347.         
  348.         
  349.             -p        Clean passthru areas before terminating, see also
  350.                       the "CLEAN" option.
  351.         
  352.                       Examples:
  353.         
  354.                         NEF -p
  355.                         NEF -p OUT
  356.         
  357.         
  358.             -t        Toggle Secure mode (see also the NoSecure cfg
  359.                       statement).
  360.         
  361.           
  362.           A description of options follows:
  363.         
  364.             NOTIFY    Notify linked areas to the specified address list,
  365.                       where <adr> is a 4D address.
  366.                       If no address is given or "ALL" is specified, NEF
  367.                       will notify to all defined links.
  368.         
  369.             OUT       Outbound analysis (message output), optional
  370.                       concise output to <file> (no specification of each
  371.                       and every attached file). See the <OUT> and
  372.                       <OUTVIEW> "special tags" in the "Announce"
  373.                       section.
  374.         
  375.             OUTVIEW   Same as OUT, but optional output to <file> is
  376.                       verbose.
  377.         
  378.             CLEAN     Clean passthru areas.
  379.         
  380.                       Since it might be not efficient to always scan the
  381.                       entire outbound to check for passthru files to be
  382.                       deleted, NEF must be explicitly instructed to do
  383.                       so (see also the "-p" command line switch).
  384.         
  385.                       Example: "Nef Clean"
  386.         
  387.             HATCH     Traditional hatch.
  388.             MATCH     Move file to destination area then hatch.
  389.             CATCH     Copy file to destination area then hatch.
  390.             SEND      (OS/2) Hatch via PM Dialog.
  391.         
  392.                       If you use one of these hatch options, NEF will
  393.                       not process inbound .TICs; instead it will send
  394.                       the specified files to your links.
  395.         
  396.                       Examples: "Nef Hatch"
  397.                                 "Nef Match"
  398.                                 "Nef Catch"
  399.                                 "Nef Send" (OS/2 Only)
  400.         
  401.                       When no parameters are specified after the hatch
  402.                       option, your interaction is required: you will be
  403.                       requested the filename specification (Dos or OS/2
  404.                       wildcards allowed) and, for each matching file,
  405.                       the optional "replace" name, the area TAG, the
  406.                       description and the optional "Long Description".
  407.         
  408.                       On the other hand, if you specify the hatch
  409.                       parameters on the command line, you cannot give a
  410.                       "Long Description" apart from that taken from the
  411.                       File_Id.Diz.
  412.         
  413.                       HATCH sends the specified files; they are not
  414.                       moved and their description is not modified.
  415.         
  416.                       MATCH moves the specified files to the directory
  417.                       that corresponds to the specified <TAG>, updates
  418.                       their descriptions (see "Description Handling" in
  419.                       Overall operation) and sends them as per normal
  420.                       hatch. If a <replace> file is specified, it is
  421.                       deleted with its associated description.
  422.         
  423.                       CATCH is just like Match, but the files are copied
  424.                       instead of moved.
  425.         
  426.                (OS/2) SEND allows to specify all the hatch parameters
  427.                       via a user friendly PM Dialog. Please make sure
  428.                       the PmHatch.Exe file is in the PATH. In the case
  429.                       the PmHatch program terminates abnormally, the NEF
  430.                       program will wait for it indefinitely: you can
  431.                       terminate it using CTRL-C or CTRL-Break.
  432.         
  433.                       See the "PmHatch" section below for further
  434.                       information.
  435.         
  436.         
  437.           Parameters for Hatch/Match/Catch:
  438.         
  439.             <name>    This is the full pathname of the files you want to
  440.                       H/M/Catch. You need to specify the full path even
  441.                       if you are hatching files that reside in the
  442.                       directory corresponding to <TAG>. O.S. wildcards
  443.                       are allowed.
  444.         
  445.             <replace> This is the optional name of the file to be
  446.                       replaced: if the receiving system has this feature
  447.                       enabled, a file named <replace> in the <TAG> area
  448.                       will be deleted while importing the new file.
  449.         
  450.             <TAG>     This is the tag used for distributing an echo-file
  451.                       area.
  452.         
  453.             <desc>    This is the "short" file description and must be
  454.                       enclosed between quotes '"'.
  455.         
  456.                       In the case you need to include the '"' character
  457.                       in the description, just precede it with a
  458.                       backslash escape character: '\"'.
  459.         
  460.                       If you want to take this description from the
  461.                       files.bbs, you can just specify "@BBS".
  462.         
  463.                       Although NEF allows not to specify any <desc>, it
  464.                       is highly recommended that a "short" description
  465.                       is supplied, even when a "long" one is used.
  466.         
  467.             @DIZ      This parameter allows to (optionally) take a
  468.                       "long" description from the File_Id.Diz contained
  469.                       in archive <name>.
  470.         
  471.                       Please note that this is an additional OPTIONAL
  472.                       field, while <desc> should be MANDATORY (although
  473.                       NEF does not complain about a missing <desc>).
  474.         
  475.                 Note: Please realize that the "short" and "long"
  476.                       descriptions are two separate and indipendent
  477.                       items.
  478.         
  479.                       Short description: single line, "Desc" keyword in
  480.                       TIC files.
  481.         
  482.                       Lond description: multiple lines, "Ldesc" keywords
  483.                       in TIC files.
  484.         
  485.         
  486.         
  487.                 
  488.         
  489.         Examples:
  490.         
  491.             NEF Hatch d:\p\prg12.rar/prg11.rar COMMS "New comm prg"
  492.         
  493.                 d:\p\prg12.rar is hatched (NOT moved) into the COMMS
  494.                 area; prg11.rar will be deleted on receiving systems.
  495.         
  496.             NEF Catch d:\p\prg12.rar/prg11.rar COMMS "New comm prg"
  497.         
  498.                 d:\p\prg12.rar is copied to the directory corresponding
  499.                 to the COMMS file area and is hatched to the COMMS area.
  500.                 prg11.rar is deleted locally and will be deleted on
  501.                 receiving systems.
  502.         
  503.             NEF Match d:\p\prg12.rar COMMS "New comm prg"
  504.         
  505.                 d:\p\prg12.rar is moved to the directory corresponding
  506.                 to the COMMS file area, it is hatched to the COMMS area,
  507.                 no replace information is put in the outgoing .TICs.
  508.         
  509.             NEF Send
  510.         
  511.                 (OS/2) Invokes the PM dialog window.
  512.         
  513.             NEF Hatch d:\apbbs\nef999.rar APBBS @bbs
  514.         
  515.                 d:\apbbs\nef999.rar is hatched into the APBBS area,
  516.                 taking the description from the files.bbs.
  517.         
  518.             NEF Hatch d:\apbbs\nef999.rar APBBS "Nef 9.99" @diz
  519.         
  520.                 d:\apbbs\nef999.rar is hatched into the APBBS area,
  521.                 taking "Nef 9.99" as the "short" description and the
  522.                 File_Id.Diz (if present in the archive) as the "long"
  523.                 description.
  524.         
  525.             NEF Hatch d:\apbbs\nef999.rar APBBS @bbs @diz
  526.         
  527.                 d:\apbbs\nef999.rar is hatched into the APBBS area,
  528.                 taking the "short" description from the files.bbs and
  529.                 the "long" description from the File_Id.Diz (if it is
  530.                 contained in the archive).
  531.         
  532.             NEF -d2:332/504.2 Hatch d:\apbbs\nef999.rar APBBS @bbs @diz
  533.         
  534.                 Same as above, but the file is hatched to 2:332/504.2
  535.                 only.
  536.         
  537.             NEF OUT
  538.         
  539.                 An outbound analysis is performed, the results are
  540.                 reported via messages in the area(s) configured in
  541.                 Nef.Cfg (see the Announce statement).
  542.         
  543.             NEF OUT Out.Txt
  544.         
  545.                 Same as above, but the output is also written to
  546.                 "Out.Txt" in "concise mode".
  547.         
  548.             NEF OUTVIEW Out.Txt
  549.         
  550.                 Same as above but the file output is verbose.
  551.         
  552.             NEF -p OUT
  553.         
  554.                 NEF will report the status of the outbound and clean the
  555.                 passthru areas.
  556.         
  557.                 If you need to maintain passthru areas, this is the most
  558.                 efficient use, since NEF must scan the outbound once to
  559.                 make two different things ("clean passthru" and
  560.                 "outbound report").
  561.         
  562.             NEF Notify
  563.             NEF Notify All
  564.         
  565.                 A notification message is sent to all the defined links,
  566.                 specifying the linked areas.
  567.         
  568.             NEF Notify 2:332/589 1:234/567
  569.         
  570.                 A notification message is sent to the specified links.
  571.         
  572.         
  573.                 
  574.                                     PmHatch
  575.         
  576.            OS/2 Only:
  577.         
  578.                 To invoke the PM hatch program you must type "NEF send".
  579.                 The PmHatch program is very simple and intuitive to use:
  580.                 see the following description.
  581.         
  582.                 You can select the destination Area Tag via a drop-down
  583.                 list: just click with the mouse on the button at the
  584.                 right of the entry field.
  585.         
  586.                 You have three radio buttons to select the "type" of
  587.                 hatch (normal, with Copy, with Move), just as you use
  588.                 Hatch/Catch/Match from the command line.
  589.         
  590.                 You can choose the file to be hatched via a file dialog
  591.                 box: just click on the "Browse" push button on the right
  592.                 of the field. The file dialog starts from the directory
  593.                 corresponding to the selected Tag, but you can move to
  594.                 any drive or directory.
  595.         
  596.                 You can also specify a "Replace" file via a file-dialog
  597.                 by clicking on the "Browse" push-button on the right of
  598.                 the "Repl" field.
  599.         
  600.                 When doing Copy or Move, the files.bbs of the
  601.                 destination area is updated and the "replace" file (if
  602.                 specified) is deleted, just as if the file were tossed
  603.                 from the inbound.
  604.         
  605.                 You can mark the "No Local Kill" checkbox to prevent NEF
  606.                 from deleting the "replace" file in the local area.
  607.         
  608.                 You can load a "short description" (Desc) from the
  609.                 files.bbs, by clicking on the "FilesBbs" push-button.
  610.         
  611.                 You can load a multi-line "long description" (Long Desc)
  612.                 from the File_Id.Diz inside the archive, from the
  613.                 Files.Bbs or from a specified file (Arc Diz, FilesBbs,
  614.                 File push-buttons respectively).
  615.         
  616.                 If you do not have the "CompressCfg <filename>"
  617.                 statement in Nef.Cfg, the "Arc Diz" push-button will be
  618.                 disabled.
  619.         
  620.                 Of course you can always fill-in or modify any field
  621.                 manually.
  622.         
  623.                 Now look at the five push-buttons at the bottom of the
  624.                 hatch dialog:
  625.         
  626.                 <OK>: to exit the dialog and hatch all the entered files.
  627.         
  628.                 <Prev>: to visualize the previous hatch entry.
  629.         
  630.                 <Next>: to create a new (empty) entry in order to hatch
  631.                 another file or to move to next entry if <Prev> has been
  632.                 used.
  633.         
  634.                 <Copy>: to copy the visualized entry to the first free
  635.                 position, in order to hatch another file by modifying
  636.                 the current entry.
  637.         
  638.                 <Cancel> or ESC: to cancel the current entry.
  639.         
  640.                 ALT-F4 or "Close", to abort (cancel all the hatch
  641.                 entries).
  642.         
  643.         
  644.         
  645.         
  646.                 
  647.         
  648.                                   ERRORLEVELS
  649.         
  650.         
  651.           0 - File areas modified: Match or .TIC processed.
  652.           1 - File areas not modified: Hatch or NO .TIC processed.
  653.           2 - Help requested.
  654.           3 - Abnormal termination
  655.           4 - Configuration file not found.
  656.           5 - Invalid parameter on command line.
  657.           6 - No Outbound defined in cfg file.
  658.           7 - Disk Full.
  659.           8 - Out of Memory.
  660.           9 - Can't open Log file.
  661.          10 - Prefix or Suffix too long.
  662.          11 - User Input Error (interactive hatch/match).
  663.          12 - TimeOut waiting for concurrent NEF process to finish.
  664.          13 - Error while accessing .SAV file.
  665.          17 - FileBase Busy TimeOut.
  666.         
  667.         250 - MsgApi: Init Error.
  668.         251 - MsgApi: Area Open Error.
  669.  
  670.         
  671.         
  672.                 
  673.         
  674.                                  CFG REFERENCE
  675.         
  676.         
  677.         Before analyzing the cfg keywords in detail, let's introduce the
  678.         overall mechanism that is at the basis of NEF's file forwarding
  679.         capabilities.
  680.         
  681.         Each area (defined via the FileArea keyword) can be
  682.         mono-directional or bi-directional.
  683.         
  684.         In bidirectional areas every link can send files to us and we
  685.         forward to everyone, unless those with a "receive-from"
  686.         override.
  687.         
  688.         Monodirectional areas can be "receive from everyone" or "send to
  689.         everyone". Obviously, at least one link must have an override in
  690.         the opposite direction, unless we are the destination or
  691.         origination of all the files.
  692.         
  693.         NEF uses the three flags 'I' (Input: we accept from), 'O'
  694.         (Output: we send to) and '*' (bidirectional) to define the
  695.         direction of an area or link.
  696.         
  697.         Each area has a direction, that can be overridden on a per-node
  698.         basis by a global (in the FileLink statement) or local (in the
  699.         FileArea statement, before the pertinent link address) direction
  700.         override.
  701.         
  702.         In other words: each link has a direction that is defined in
  703.         order of priority (from lowest to highest) by the area direction
  704.         (I|O|* in FileArea), the global link override (in the FileLink
  705.         statement), the local link override (before link address in the
  706.         FileArea statement).
  707.         
  708.         It is recommended not to use the global link override when not
  709.         really useful, so that the area definition statements remain
  710.         clearly readable without the need to keep one eye on the
  711.         FileLink statements.
  712.         
  713.         Usually the global link override is useful when you have an
  714.         uplink for many areas. For example: if one day the uplink and
  715.         one of the downlinks switch their role, you have to move the 'I'
  716.         flag from one FileLink statement to the other with no need to
  717.         change all the area definitions.
  718.         
  719.         The area direction definition is very useful to allow automatic
  720.         linking via the Link Robot both to normal "Uplink to Downlinks"
  721.         areas and to reverse "Downlinks to Uplink" areas (mostly used
  722.         for "pre" areas to collect files and send them to the
  723.         coordinator).
  724.         
  725.         As a matter of fact, in response to a link request, the Link
  726.         Robot only adds the requesting address (with no flags) to the
  727.         FileArea statement. So the real characteristics of the link
  728.         depend on the Area direction and on the link flags (FileLink
  729.         statement).
  730.         
  731.         
  732.         
  733.         
  734.                 
  735.         
  736.                                  Conventions
  737.         
  738.         
  739.         
  740.         - Items between square brackets (e.g. [<item>]) are optional.
  741.         
  742.         - Items separated by '|' are mutually exclusive (e.g. I|O|*).
  743.         
  744.         - The names of the various Keywords are NOT case sensitive.
  745.         
  746.         - The area TAGs are NOT case sensitive.
  747.           Please be aware that old TIC processors might not be able to
  748.           handle tags longer than 8 characters or containing dots.
  749.         
  750.         - <WTAG> is a "Wild TAG" specification: it can be a normal area
  751.           TAG or contain wildcards in the "OS/2 style".
  752.         
  753.           Examples:
  754.         
  755.           "*LOC*" specifies all tags that contain "LOC".
  756.         
  757.           "FW???" specifies all tags that have up to three characters
  758.           after "FW".
  759.         
  760.         - When a directory path is required, the trailing backslash '\'
  761.           is optional.
  762.         
  763.         - The ';' character starts comments: any character following the
  764.           ';' is ignored. Please note that configuration text strings
  765.           (e.g. Subj, Origin) can contain the ';' character provided
  766.           they are enclosed in quotes '"'.
  767.         
  768.         - The maximum length of configuration lines (including FileArea
  769.           definitions) is 510 characters.
  770.         
  771.         - ... means that you can list further items of the same type.
  772.         
  773.         - Unless differently specified, addresses are standard 4D and
  774.           MUST begin with the zone number (FileArea statements excluded).
  775.         
  776.         Please, note that the order of the configuration statements
  777.         follows some logical rule. In order not to create confusion in
  778.         the .cfg file and not to break some _necessary_ order relation,
  779.         please follow the scheme proposed in the example NEF_*.CFG files
  780.         and in this reference documentation.
  781.         
  782.         
  783.         
  784.                 
  785.                                   S Y S T E M
  786.         
  787.                         
  788.         
  789.         RegKey <RegKey>
  790.         
  791.                 Registered Users only: <RegKey> is the registration key
  792.                 and it is NOT case sensitive.
  793.         
  794.             Example:
  795.         
  796.                 RegKey dfhyuwru6274623
  797.         
  798.         
  799.         
  800.                         
  801.         
  802.         Address <Address>
  803.         
  804.                 You can use as many Address statements as you need for
  805.                 all of your AKAs. The first one specifies the "primary"
  806.                 address. <Address> is a standard 4D address
  807.                 specification.
  808.         
  809.             Example:
  810.         
  811.                 Address 2:332/504.0   ; Primary Address
  812.                 Address 2:332/524.0   ; Second line aka
  813.                 Address 2:332/500.0   ; Hub aka
  814.                 Address 9:999/999.9   ; one more aka
  815.         
  816.         
  817.         
  818.                         
  819.         
  820.         StatusLog <LogFile>
  821.         
  822.                 <LogFile> is the name of the file where all the
  823.                 operations performed by NEF will be logged, following
  824.                 the "Binkley Style".
  825.         
  826.                 In multitasking environments, please be sure to use a
  827.                 file that cannot be used by other processes at the same
  828.                 time. For example: if (in your system) NEF can be
  829.                 executed while Binkley is running, please use different
  830.                 log files.
  831.         
  832.                 Multiple NEF processes using the same config file
  833.                 (and therefore the same <LogFile>) will have no problem
  834.                 since NEF does not begin operations until the previous
  835.                 launched instance (if it uses the same .cfg file) has
  836.                 finished.
  837.         
  838.                 Should you not want the log file, you can comment this
  839.                 keyword out.
  840.         
  841.             Example:
  842.         
  843.                 StatusLog d:\bbs\log\nef.log
  844.         
  845.         
  846.         
  847.                         
  848.         
  849.         EchoTossLog <filename>
  850.         
  851.                 When NEF writes announcements into echoareas defined
  852.                 with the "AreaTag" statement, it writes the
  853.                 corresponding TAGs (one per line) to <filename>.
  854.         
  855.                 If you use the "MaxPrm" statement (or MAXIMUS
  856.                 environment variable), "EchoTossLog" is not necessary
  857.                 and becomes an override of the echotosslog specification
  858.                 found in the Maximus .PRM file.
  859.         
  860.                 If you do not like this output, you can override with
  861.                 the NUL name: "EchoTossLog NUL".
  862.         
  863.             Example:
  864.         
  865.                 EchoTossLog d:\bbs\squish\echotoss.log
  866.         
  867.         
  868.         
  869.                         
  870.         
  871.         NetFile <InboundDir>
  872.         
  873.                 You can specify as many NetFile statements as you need,
  874.                 one for each inbound directory where NEF must look for
  875.                 new .TIC files.
  876.                 <InboundDir> is the pathname of the inbound directory.
  877.         
  878.             Example:
  879.         
  880.                 NetFile c:\file\net
  881.         
  882.         
  883.         
  884.                         
  885.         
  886.         OutBound <RootPath> [<Zone>]
  887.         
  888.                 The outbound directories are specified with the same
  889.                 method as in squish.cfg.
  890.                 <RootPath> should not have an extension.
  891.         
  892.                 The first OutBound statement does not have the <Zone>
  893.                 field and specifies the directory where NEF will build
  894.                 file attaches for the zone of the primary address.
  895.         
  896.                 Subsequent OutBound statements must have the <Zone>
  897.                 field (Decimal). File attaches for the specified <Zone>
  898.                 are built in <RootPath>.<###>, where <###> is a 3 digit
  899.                 extension representing the zone number (hexadecimal).
  900.         
  901.                 File attaches for zones different from the primary one
  902.                 and not matching any <Zone> of the OutBound statements
  903.                 are built in <RootPath>.<###>, where <RootPath> is the
  904.                 one specified in the first OutBound statement and <###>
  905.                 is a 3 digit extension representing the hexadecimal
  906.                 zone number.
  907.         
  908.             Note:
  909.         
  910.                 The "OutBound" statements MUST be preceded by the
  911.                 "Address" ones.
  912.         
  913.             Example:
  914.         
  915.                 OutBound c:\out\fidonet
  916.                 OutBound c:\out\amiganet 39
  917.                 OutBound c:\out\amiganet 40
  918.         
  919.                 FileAttaches will be built in:
  920.                 Primary zone -> c:\out\fidonet
  921.                 zone 39      -> c:\out\amiganet.027
  922.                 zone 40      -> c:\out\amiganet.028
  923.                 other zones  -> c:\out\fidonet.<###>
  924.                                 where <###> is the 3 digit hexadecimal
  925.                                 representation of the zone number
  926.         
  927.         
  928.         
  929.                         
  930.         
  931.         TicHold <TicDir>
  932.         
  933.                 This specifies the directory that holds all the .TIC
  934.                 files addressed to downlinks until they are sent and
  935.                 erased.
  936.         
  937.             Example:
  938.         
  939.                 TicHold c:\file\tichold
  940.         
  941.         
  942.         
  943.                         
  944.         
  945.         BusyFlags
  946.         
  947.                 This enables the Binkley-Style .BSY support.
  948.         
  949.                 When attaching a file to a node, the presence of an
  950.                 appropriate .BSY file is checked; if it is present, some
  951.                 other process may be working on the same node, so NEF
  952.                 saves the attach info to a private <config>.SAV file
  953.                 (i.e. NEF.SAV when NEF.CFG is the config file). On
  954.                 subsequent runs, NEF will look for a <config>.SAV file
  955.                 and use the information in it to attempt again the
  956.                 creation of the file attaches.
  957.                 If the .BSY file is not found, it is created, the file
  958.                 attach is built, then the .BSY is erased.
  959.                 The name of the .BSY file is the same as a file attach
  960.                 to the same node: only the extension changes.
  961.         
  962.             Warning: The .BSY method has a nasty drawback: if the
  963.                 process that has created a .BSY file hangs or is
  964.                 shutdown abruptly, the .BSY file remains in its outbound
  965.                 directory, so that no other process will gain access to
  966.                 that node until somebody erases the .BSY file.
  967.                 It is advisable to delete *.BSY from the most used
  968.                 outbound directories at startup (in autoexec.bat (Dos)
  969.                 or startup.cmd (OS/2)).
  970.         
  971.         
  972.         
  973.                         
  974.         
  975.         NoRaidBeforeHatch
  976.         
  977.                 Skips the scanning of netmail before the execution of
  978.                 hatch commands. This might be useful to avoid delays
  979.                 with huge *.MSG areas.
  980.         
  981.         
  982.         
  983.                         
  984.         
  985.         MsgSize <bytes>
  986.         
  987.                To specify the maximum size (in bytes) for a message
  988.                generated by NEF (minimum 8KB, default 12KB).
  989.         
  990.                Usually a larger message size is useful to avoid too many
  991.                messages in reports of filebone availability. Anyway,
  992.                please be careful not to use a size larger than your
  993.                downlinks can handle.
  994.         
  995.                Example:
  996.         
  997.                MsgSize 90000
  998.         
  999.         
  1000.         
  1001.                         
  1002.         
  1003.         TicAreaCfg <filename>
  1004.         
  1005.                 This defines the name of the file that contains all the
  1006.                 file area definitions. See the "FileArea" keyword below
  1007.                 for a description of the syntax.
  1008.         
  1009.                 This keyword is optional: if you omit it, you can define
  1010.                 your file areas directly in the .cfg file, provided you
  1011.                 put all the FileArea statements _after_ the FileLink
  1012.                 ones, at the end of the .cfg file.
  1013.         
  1014.                 For systems with few areas the one-file configuration is
  1015.                 handy, for systems with many areas and links, the
  1016.                 separate file solution is recommended.
  1017.         
  1018.                 Please note that the TicAreaCfg file can contain
  1019.                 FileArea statements and comments ONLY.
  1020.         
  1021.             Example:
  1022.         
  1023.                 TicAreaCfg d:\bbs\nef\ticarea.cfg
  1024.         
  1025.         
  1026.         
  1027.                         
  1028.         
  1029.         CompressCfg <filename>
  1030.         
  1031.           (OS2) To allow the extraction of File_Id.Diz while using the
  1032.                 Pm Hatch.
  1033.         
  1034.                 <filename> must specify the location and name of a
  1035.                 "Squish style" compress definition file.
  1036.         
  1037.                 In the case you are using a case-sensitive
  1038.                 de/compression program (e.g. OS/2 ZIP/UNZIP), please
  1039.                 make sure to use the correct switches in <filename>.
  1040.         
  1041.                 If you are already using Squish and or Maximus, you
  1042.                 can just specify the name of their compress.cfg (but do
  1043.                 check that they indicate the necessary switches to avoid
  1044.                 case sensitiveness during extraction).
  1045.         
  1046.                 Refer to the "Compress Definition File" section at the
  1047.                 end of this reference for the syntax of this
  1048.                 configuration file.
  1049.         
  1050.             Example:
  1051.         
  1052.                 CompressCfg c:\squish\compress.cfg
  1053.         
  1054.         
  1055.                 
  1056.                             Optional Squish Support
  1057.         
  1058.         
  1059.                         
  1060.         
  1061.         SquishCfg <filename>
  1062.         
  1063.                 It is used to specify the squish configuration file, so
  1064.                 that NEF can automatically get the path, type (SDM vs
  1065.                 Squish) and primary address for the announcement areas
  1066.                 defined with the "AreaTag" statement.
  1067.         
  1068.                 When SquishCfg is defined, if you use "AreaTag <Tag>" to
  1069.                 define announcement areas, the "FromNode <adr>"
  1070.                 statement is only used to override the primary address
  1071.                 specified for that area in Squish.Cfg (including the
  1072.                 -p<address> overrides).
  1073.         
  1074.                 NEF supports the "Include" keyword of Squish.Cfg: just
  1075.                 be sure to always use the full pathname in the Include
  1076.                 statement if NEF and Squish run from different paths.
  1077.         
  1078.                 Both echomail and netmail areas are recognized by their
  1079.                 Squish tags.
  1080.         
  1081.                 Netmail areas will have the Private attribute and no
  1082.                 origin by default. Local overrides are still possible
  1083.                 via local "Origin" and "Attr" statements.
  1084.         
  1085.             Example:
  1086.         
  1087.                 SquishCfg c:\squish\squish.cfg
  1088.         
  1089.         
  1090.                 
  1091.                          Optional Maximus 3.xx Support
  1092.         
  1093.                         
  1094.         
  1095.         MaxPrm <filename>
  1096.         
  1097.                 If the MAXIMUS environment variable is defined, this
  1098.                 statement is an optional override only.
  1099.         
  1100.                 It is used to take the default for EchoTossLog and to
  1101.                 get the name and location of the files necessary for
  1102.                 filebase updating. The ".prm" extension in <filename>
  1103.                 can be omitted.
  1104.         
  1105.             Example:
  1106.         
  1107.                 MaxPrm d:\bbs\max\max.prm
  1108.         
  1109.         
  1110.                                 
  1111.         
  1112.         MaxAreaAdd <fileareactl> <lev[/keys]> <acs> [<division>]
  1113.         MaxAreaCompile <command>
  1114.         
  1115.                NEF is able to add new (created) areas to the Maximus
  1116.                filearea.ctl or equivalent.
  1117.         
  1118.         
  1119.                <fileareactl> is the fully qualified name of the Maximus
  1120.                file-area definition file.
  1121.         
  1122.                <lev[/keys]> protects areas of higher privilege from
  1123.                being automatically added to the Maximus configuration.
  1124.                The level and keys are to be compared to those of
  1125.                ProtArea statements and FileBone-format files.
  1126.         
  1127.                <acs> is the Maximus access string to be used in
  1128.                <fileareactl> for the new area.
  1129.         
  1130.                <division> is the optional specification of a division
  1131.                where you want to put new areas. If not specified or not
  1132.                found, the new areas will be appended at the end of
  1133.                <fileareactl>.
  1134.         
  1135.                <command> is an external command to be executed before
  1136.                NEF ends, from the Maximus system directory.
  1137.                It should be used to compile the new Maximus
  1138.                configuration via SILT/SILTP.
  1139.         
  1140.         
  1141.                The area name is taken equal to the area TAG, with dots
  1142.                changed to underscores.
  1143.         
  1144.                The area description is taken from the FileBone-format
  1145.                files if available, otherwise it is taken equal to the
  1146.                area TAG.
  1147.         
  1148.         
  1149.                Example:
  1150.         
  1151.                MaxAreaAdd d:\max\filearea.ctl 0 Transient Tic.New
  1152.                MaxAreaCompile siltp max -a -2a
  1153.         
  1154.                The new areas, will be inserted at the end of division
  1155.                "Tic.New" in the file "d:\max\filearea.ctl", with an
  1156.                access string of "Transient". Areas with protection level
  1157.                above 0 or any protection key will NOT be added to
  1158.                maximus configuration.
  1159.         
  1160.                Before terminating, NEF will invoke the SILTP compiler to
  1161.                update the area configuration. The command will be
  1162.                executed after changing the current directory to the
  1163.                Maximus system one (probably d:\max\).
  1164.         
  1165.         
  1166.         
  1167.         
  1168.                         
  1169.         
  1170.         FileBaseUpdate
  1171.         
  1172.                 Requires the MAXIMUS environment variable or the
  1173.                 "MaxPrm" statement _before_ in the cfg.
  1174.         
  1175.                 NEF will automatically update the filebase for all the areas
  1176.                 changed when tossing/hatching new files. No more need to
  1177.                 run external FBP (FB).
  1178.         
  1179.             Example:
  1180.         
  1181.                 FileBaseUpdate
  1182.         
  1183.         
  1184.         
  1185.                         
  1186.         
  1187.         UniqueDmpLine
  1188.         
  1189.                 Makes NEF generate FILES.DMP filebase files with
  1190.                 descriptions on one line only (multiple lines are
  1191.                 concatenated).
  1192.         
  1193.                 By default, NEF outputs multi-line descriptions without
  1194.                 changes to FILES.DMP: when using L)ocate and N)ewfiles
  1195.                 commands, Maximus will respect the original formatting,
  1196.                 but the continuation lines will be aligned to the left.
  1197.         
  1198.                 When this statement is used, the original formatting of
  1199.                 descriptions is lost (in the filebase) but Maximus will
  1200.                 be able to word-wrap and align when executing L)ocate or
  1201.                 N)ewfiles commands.
  1202.         
  1203.         
  1204.         
  1205.                 
  1206.         
  1207.         
  1208.                                  TIC Processing
  1209.         
  1210.         
  1211.                         
  1212.         
  1213.         NoSecure
  1214.         
  1215.                 Disables the secure mode.
  1216.         
  1217.                 When "NoSecure" is used, NEF will toss incoming files
  1218.                 ignoring errors due to missing password, password
  1219.                 mismatch and missing from-authorization (sender not
  1220.                 linked, sender receive only).
  1221.         
  1222.                 You can also use the "-t" command line switch to toggle
  1223.                 between Secure and NoSecure modes.
  1224.         
  1225.                 Anyway the error will be noted in the logs and <BAD>
  1226.                 message report (see Announce statement).
  1227.         
  1228.             Example:
  1229.         
  1230.                 NoSecure
  1231.         
  1232.         
  1233.         
  1234.                         
  1235.         
  1236.         NoReplace <WTAG> ...
  1237.         
  1238.                 Multiple statements can be used.
  1239.                 The specified <WTAG>s indicate in which areas you do not want
  1240.                 NEF to delete files specified by the "Replaces" keyword in
  1241.                 inbound TICs.
  1242.         
  1243.             Example:
  1244.         
  1245.                 NoReplace *     ; to avoid Replace in all areas
  1246.         
  1247.         
  1248.         
  1249.                         
  1250.         
  1251.         CheckCRC
  1252.         
  1253.                 This enables the CRC check of ingoing .TICs.
  1254.                 If an ingoing .TIC has the CRC keyword, the specified
  1255.                 CRC is checked against that of the relative file and an
  1256.                 error is reported in case of mismatch.
  1257.                 Outgoing .TICs will have the CRC only if it is present
  1258.                 in the ingoing one.
  1259.                 TICs originated by NEF (various Hatch modes) will always
  1260.                 have the CRC keyword.
  1261.         
  1262.         
  1263.         
  1264.                         
  1265.         
  1266.         Touch
  1267.         
  1268.                 Ingoing files are "touched" while being moved to their
  1269.                 destination directory (i.e. their timestamps are set to
  1270.                 NOW, so that they will be seen as new files by all the
  1271.                 utilities that use the file date-time to compute the age
  1272.                 of files).
  1273.         
  1274.             (OS/2)
  1275.                 When the files are touched in HPFS, the creation date is
  1276.                 modified, not the modification one, in order to make the
  1277.                 files recognized as new by Maximus and FLM (my File List
  1278.                 Manager) without changing the date that is normally
  1279.                 shown and transferred: you "see" and transfer to your
  1280.                 downlinks the original date of the file while Maximus
  1281.                 and FLM are able to realize that the file is new.
  1282.         
  1283.             (DOS & OS/2 FAT)
  1284.                 Warning: The original file timestamp is lost and the
  1285.                 downlinks will receive the forwarded files with the new
  1286.                 timestamps.
  1287.         
  1288.         
  1289.                         
  1290.         
  1291.         MultiLineDesc <nnn> [<c>]
  1292.         
  1293.                 By default, files.bbs description must be on a single
  1294.                 line; this statement enables Multi-Line support.
  1295.         
  1296.                 <nnn> is the number of spaces that must precede the
  1297.                 continuation lines.
  1298.         
  1299.                 <c> is the continuation character.
  1300.         
  1301.                 If <c> is NOT specified, it is assumed that the
  1302.                 continuation lines must be preceded by <nnn> spaces.
  1303.         
  1304.                 If <c> IS specified, it is assumed that the continuation
  1305.                 lines must be preceded by <nnn> spaces, the <c>
  1306.                 character and one more space.
  1307.         
  1308.                 For example, to have the 2nd and following description
  1309.                 lines in files.bbs start at the 32nd column, use:
  1310.         
  1311.                 MultiLineDesc 31
  1312.         
  1313.         
  1314.                 A description in files.bbs would be like:
  1315.         
  1316.                 Test.Zip This is the first description line
  1317.                                                this is the 2nd line
  1318.                                                this is the 3rd line
  1319.                 ^                             ^^
  1320.                 1                           31  32
  1321.         
  1322.                 To have the continuation lines preceded by a '|'
  1323.                 character, use:
  1324.         
  1325.                 MultiLineDesc 29 |
  1326.         
  1327.         
  1328.                 A description in files.bbs would be like:
  1329.         
  1330.                 Test.Zip This is the first description line
  1331.                                              | this is the 2nd line
  1332.                                              | this is the 3rd line
  1333.                 ^                           ^  ^
  1334.                 1                          29  32
  1335.         
  1336.         
  1337.         
  1338.                         
  1339.         
  1340.         
  1341.         NewAreasPath <path>
  1342.         NewAreasFrom <address> [-0] [#<aka>] [<path>]
  1343.         
  1344.                 <path> is the base directory for new file areas
  1345.                 automatically created by NEF on reception of .TICs with
  1346.                 unknown area TAGs.
  1347.         
  1348.                 <address> is a 4D address that must be enabled to
  1349.                 automatically create new areas.
  1350.         
  1351.                 -0 (zero) specifies that areas created by <address> must
  1352.                 be PassThru.
  1353.         
  1354.                 <aka> is the optional from-address to be used by NEF in
  1355.                 outgoing .TICs for the areas automatically created by
  1356.                 <address>.
  1357.         
  1358.                 The <path> in "NewAreasFrom" is an override for the
  1359.                 default specified in "NewAreasPath".
  1360.         
  1361.                 Any number of NewAreasFrom statements can be used.
  1362.         
  1363.                 While adding new areas, NEF will NOT re-order the
  1364.                 existing ones, anyway it will respect an existing
  1365.                 alphabetical order.
  1366.         
  1367.             Example:
  1368.         
  1369.                 NewAreasPath c:\file
  1370.                 NewAreasFrom 2:331/110
  1371.                 NewAreasFrom 9:1/1 #9:999/999.9
  1372.                 NewAreasFrom 9:2/2 -0 d:\fido\passthru\
  1373.         
  1374.                 Let's suppose we have received a .TIC for area NEWAREA,
  1375.                 which is not currently defined:
  1376.                 - if it is coming from an address different from
  1377.                   2:331/110, 9:1/1 and 9:2/2 -> an error is reported.
  1378.                 - if it is coming from 2:331/110 -> a new area is
  1379.                   created with path c:\file\NEWAREA.
  1380.                 - if it is coming from 9:1/1 -> a new area is created
  1381.                   with path c:\file\NEWAREA and it is configured so that
  1382.                   NEF will use 9:999/999.9 (which must be an aka
  1383.                   previously defined in an Address statement) as the
  1384.                   from-address for outgoing .TICs.
  1385.                 - if it is coming from 9:2/2 -> a passthru area is created
  1386.                   with path d:\fido\passthru\NEWAREA.
  1387.         
  1388.         
  1389.         
  1390.                         
  1391.         
  1392.         DescStart "<string>" <WTAG> [<WTAG> ...]
  1393.         
  1394.                 This allows to add <string> at the head of files.bbs
  1395.                 descriptions while tossing files from area TAGs that
  1396.                 match one of the <WTAG> specifications.
  1397.         
  1398.                 This statement is useful for people using download
  1399.                 counters and/or maximus flags for free download.
  1400.         
  1401.             Example:
  1402.         
  1403.                 DescStart "/bt [00] " 1* 2*
  1404.         
  1405.                 This adds "/bt [00] " at the head of files.bbs
  1406.                 descriptions while tossing files from areas whose TAG
  1407.                 begins with '1' or '2'.
  1408.         
  1409.         
  1410.         
  1411.                         
  1412.         
  1413.         TagFwd <OrgTag> <FwdTag> <FileSpec> [<FileSpec> ...]
  1414.         
  1415.                 This allows to forward files from an area to another.
  1416.         
  1417.                 <OrgTag> and <FwdTag> are area TAGs.
  1418.                 <FileSpec> is a file specification that accepts the OS/2
  1419.                 style wildcards (?,*).
  1420.         
  1421.                 All ingoing files of area <OrgTag> which match one of
  1422.                 the <FileSpec>s are forwarded to area <FwdTag>.
  1423.                 This way you can split or merge areas.
  1424.         
  1425.             Example:
  1426.         
  1427.                 TagFwd 1-Comm Bbs AC*n prova.*
  1428.                 TagFwd 1-Data bbs *
  1429.                 TagFwd 1-DITO BBS *
  1430.                 TagFwd 1-Comm BBO *
  1431.                 TagFwd ISNMAIN POINTLST ptlist.* ptdoc.*
  1432.         
  1433.                 Files AC*n and prova.* coming from area 1-Comm and all
  1434.                 the files coming from 1-Data and 1-DITO are forwarded to
  1435.                 area BBS.
  1436.         
  1437.                 All the files from 1-COMM are also forwarded to area
  1438.                 BBO.
  1439.         
  1440.                 Files ptlist.* and ptdoc.* from area ISNMAIN are
  1441.                 forwarded to area POINTLST.
  1442.         
  1443.         
  1444.         
  1445.                                 
  1446.         
  1447.         FeatureLoad <DllName>
  1448.         
  1449.                 (OS/2) Loads a "Feature" DLL, to allow third party
  1450.                 extensions to NEF.
  1451.         
  1452.                 <DllName> can be a simple filename without extension
  1453.                 (".DLL" implied) if the DLL is in the LibPath, otherwise
  1454.                 a fully qualified filename (extension included) can be
  1455.                 specified.
  1456.         
  1457.         Feature <cfgline>
  1458.         
  1459.                 (OS/2) Allows to specify configuration statements that
  1460.                 are to be parsed by the DLL loaded with the previous
  1461.                 FeatureLoad.
  1462.         
  1463.             Note:
  1464.                 Multiple FeatureLoad statements are allowed, in which
  1465.                 case the Feature statements refer to the last loaded
  1466.                 DLL.
  1467.         
  1468.             Example:
  1469.         
  1470.                 FeatureLoad MyDll
  1471.                 Feature CfgItem1 "This is Item 1"
  1472.                 Feature CfgItem2 "This is Item 2"
  1473.         
  1474.         
  1475.         
  1476.                 
  1477.         
  1478.                                TIC Announcements
  1479.         
  1480.         
  1481.         Each announcement area is defined by a dedicated group of
  1482.         statements. Many of these statements can be used before the
  1483.         first announcement area definition to establish defaults to be
  1484.         used in all subsequent area definitions, thus avoiding the need
  1485.         to unnecessarily repeat common statements.
  1486.         
  1487.         
  1488.                 
  1489.                                 Global Keywords
  1490.         
  1491.         === Statements that can be used before area definitions to set
  1492.         === defaults (please note that all these statements can be
  1493.         === overridden in each area definition).
  1494.         
  1495.         
  1496.                         
  1497.         
  1498.         FromNode <address>
  1499.         
  1500.                 This specifies the 4D address to be used as the
  1501.                 from-address in the announcement messages: it is used in
  1502.                 the header, in the Origin and in the MSGID. Usually, it
  1503.                 should be your primary address.
  1504.         
  1505.             Example:
  1506.         
  1507.                 FromNode     2:332/504.0
  1508.         
  1509.         
  1510.         
  1511.                         
  1512.         
  1513.         ToNode <address>
  1514.         
  1515.                 This specifies the 4D address to be used as the
  1516.                 to-address in the announcement messages: it is used in
  1517.                 the header. Usually, for echo area announcements, it
  1518.                 should be the same as in FromNode.
  1519.         
  1520.             Example:
  1521.         
  1522.                 ToNode       2:332/504.0
  1523.         
  1524.         
  1525.         
  1526.                         
  1527.         
  1528.         From <name>
  1529.         
  1530.                 This specifies the name to be used as the from-name in
  1531.                 the announcement messages. Usually it should be the
  1532.                 SysOp name.
  1533.         
  1534.             Example:
  1535.         
  1536.                 From         Alberto Pasquale
  1537.         
  1538.         
  1539.         
  1540.                         
  1541.         
  1542.         To <name>
  1543.         
  1544.                 This specifies the name to be used as the to-name in the
  1545.                 announcement messages. Usually it should be "All".
  1546.         
  1547.             Example:
  1548.         
  1549.                 To           All
  1550.         
  1551.         
  1552.         
  1553.                         
  1554.         
  1555.         Subj <subject>
  1556.         
  1557.                 This specifies the string to be used as the subject in
  1558.                 the announcement messages.
  1559.         
  1560.             Note:
  1561.         
  1562.                 If the Subj text contains the ';' character, it MUST
  1563.                 be enclosed in quotes '"', otherwise NEF will take the
  1564.                 ';' as the start of a comment.
  1565.         
  1566.             Examples:
  1567.         
  1568.                 Subj    New Echo Files
  1569.                 Subj    "New files; OS/2 BBS"
  1570.         
  1571.         
  1572.         
  1573.                         
  1574.         
  1575.         Attr [P][K][C|H|D|N|O]
  1576.         
  1577.                 This specifies the attributes to be used in the
  1578.                 announcement messages. Usually no special attribute is
  1579.                 necessary, except for private announcements in the
  1580.                 netmail area.
  1581.         
  1582.                 The available attributes are:
  1583.                 P -> Private
  1584.                 K -> Kill/Sent
  1585.                 C -> Crash
  1586.                 H -> Hold
  1587.                 D -> Direct (equivalent to "CH")
  1588.                 N -> Normal (default)
  1589.                 O -> Normal (default)
  1590.         
  1591.                 The required attributes can be listed in any order and
  1592.                 are not case sensitive.
  1593.         
  1594.             Examples:
  1595.         
  1596.                 Attr            ; no attributes
  1597.                 Attr N          ; no attributes (Normal flavour)
  1598.                 Attr PK         ; Private and Kill/Sent
  1599.                 Attr PC         ; Private and Crash
  1600.                 Attr PDK        ; Private, Direct, and Kill/Sent
  1601.         
  1602.         
  1603.         
  1604.                         
  1605.         
  1606.         HighAsciiOk
  1607.         
  1608.                 Grants permission for High Ascii codes (> 127) in file
  1609.                 descriptions.
  1610.         
  1611.         
  1612.         
  1613.                         
  1614.         
  1615.         Prefix <filename>
  1616.         
  1617.                 This specifies the file containing the prefix text for
  1618.                 announcement messages: it is put by NEF at the head of
  1619.                 the message body, just before the real announcement
  1620.                 lines. It should usually contain something like "New
  1621.                 Echo Files Received:".
  1622.         
  1623.             Example:
  1624.         
  1625.                 Prefix       d:\bbs\nef\PREFIX.NEF
  1626.         
  1627.         
  1628.         
  1629.                         
  1630.         
  1631.         Suffix <filename>
  1632.         
  1633.                 This specifies the file containing the suffix text for
  1634.                 announcement messages: it is put by NEF at the end of
  1635.                 the message body, just before the tear-line and the
  1636.                 Origin. It should usually contain something like "File
  1637.                 Request open to everybody between 06:00 and 23:00 GMT".
  1638.         
  1639.             Example:
  1640.         
  1641.                 Suffix       d:\bbs\nef\SUFFIX.NEF
  1642.         
  1643.         
  1644.         
  1645.                         
  1646.         
  1647.         Origin <origin>
  1648.         
  1649.                 This specifies the text to be used as the Origin in
  1650.                 announcement messages. NEF will add the required " * "
  1651.                 at the head and the address at the end, truncating
  1652.                 <origin> if necessary to fit the 79 character maximum
  1653.                 length.
  1654.                 To disable the Origin (e.g. in netmail area) use an
  1655.                 empty origin string.
  1656.         
  1657.             Note:
  1658.         
  1659.                 If the Origin text contains the ';' character, it MUST
  1660.                 be enclosed in quotes '"', otherwise NEF will take the
  1661.                 ';' as the start of a comment.
  1662.         
  1663.             Examples:
  1664.         
  1665.                 Origin       <ApWorks Modena I><Tel.+39-59-246112/3>
  1666.                 Origin       "ApWorks Modena I; +39-59-246112/3"
  1667.                 Origin       ; empty origin to disable origin generation
  1668.         
  1669.         
  1670.                 
  1671.                                 Area Definition
  1672.         
  1673.         === All the preceding statements can be used both before
  1674.         === announcement area definitions (to set defaults) and inside
  1675.         === each definition to override the defaults.
  1676.         
  1677.         
  1678.                                 
  1679.         
  1680.         AreaTag <Tag> [<path> [-$]]
  1681.         AreaPath <path> [-$]
  1682.         
  1683.                 One of these statements starts the definition of an
  1684.                 announcement area.
  1685.         
  1686.                 <Tag> is the area TAG, to be logged to EchoTossLog
  1687.                 provided this is not a NetMail area.
  1688.         
  1689.                 <path> is the directory for the *.MSG format or the full
  1690.                 filename (no extension) for the Squish base.
  1691.         
  1692.                 -$ specifies the use of the Squish format.
  1693.         
  1694.         
  1695.             AreaTag <Tag>
  1696.         
  1697.                 This is the form to be generally used when SquishCfg is
  1698.                 defined.
  1699.         
  1700.                 NEF will look-up the <Tag> in SquishCfg to find the
  1701.                 corresponding path, message-base type and primary
  1702.                 address.
  1703.         
  1704.                 A local "FromNode" statement can be used to override the
  1705.                 primary address for the area (including -p<address>
  1706.                 specifications) found in SquishCfg.
  1707.         
  1708.                 If this is an EchoArea, its <Tag> will be output to
  1709.                 the EchoTossLog whenever NEF writes to this area.
  1710.         
  1711.                 If this is a NetArea, as a default, the Origin will not
  1712.                 be used and the Private attribute will be set; you can
  1713.                 override this with local "Origin" and "Attr" statements        .
  1714.         
  1715.         
  1716.             AreaTag <Tag> <path> [-$]
  1717.         
  1718.                 This is the form to be used for EchoMail areas when
  1719.                 SquishCfg is not defined or you want to override its
  1720.                 information AND you want <Tag> to be logged to
  1721.                 EchoTossLog.
  1722.         
  1723.         
  1724.             AreaPath <path> [-$]
  1725.         
  1726.                 This is the form to be used when SquishCfg is not
  1727.                 defined AND you do not need to log a <Tag> to
  1728.                 EchoTossLog (NetMail areas or no EchoTossLog defined).
  1729.         
  1730.             Notes:
  1731.         
  1732.                 Any of the statements described above in this "Tic
  1733.                 Announcements" section can be used after the
  1734.                 AreaTag/AreaPath statement to override the defaults for
  1735.                 this announcement area only.
  1736.         
  1737.                 Please note that you can use different AreaTag/AreaPath
  1738.                 definitions with the same message area Tag/Path, in order to
  1739.                 announce different file areas in different messages but
  1740.                 in the same message area.
  1741.         
  1742.             Examples:
  1743.         
  1744.                 AreaTag OS2BBS
  1745.                 AreaTag OS2BBS d:\bbs\mail\os2bbs -$
  1746.                 AreaPath d:\bbs\mail\net
  1747.         
  1748.         
  1749.         
  1750.                                 
  1751.         
  1752.         Announce <WTAG> [<WTAG> ...]
  1753.         NoAnnounce <WTAG> [<WTAG> ...]
  1754.         
  1755.                 This defines the list of file areas to be announced in
  1756.                 the current announcement message area (the one defined
  1757.                 by the previous AreaTag/AreaPath statement).
  1758.         
  1759.                 Multiple statements are allowed.
  1760.         
  1761.                 All the TAGs that match one of the <WTAG>s in "Announce"
  1762.                 and do not match any of the <WTAG>s in "NoAnnounce" are
  1763.                 announced in the current area.
  1764.         
  1765.                 Obviously you can omit the "NoAnnounce" statement if you
  1766.                 do not need to exclude areas that have been included via
  1767.                 the "Announce" statement.
  1768.         
  1769.                 "Announce *" makes all the file areas announced.
  1770.         
  1771.             Special tags:
  1772.         
  1773.                 The following "special tags" can be used in "Announce"
  1774.                 or "NoAnnounce" statements as if they were normal area
  1775.                 TAGs, but are not included in the "*" wildcard (i.e.
  1776.                 "Announce *" does not make them announced).
  1777.         
  1778.                 "<BAD>" is used to announce all the TICs that have been
  1779.                 processed with some error.
  1780.         
  1781.                 "<DEF>" is used to announce all the files that have not
  1782.                 been announced elsewhere. A separate announcement is
  1783.                 generated after all other announcements have been
  1784.                 completed, even if "<DEF>" is listed together with other
  1785.                 TAGs.
  1786.         
  1787.                 "<OUT>" is used to make a concise outbound report when
  1788.                 the OUT or OUTVIEW command line option is used.
  1789.                 Subj, Prefix and Suffix are ignored.
  1790.         
  1791.                 "<OUTVIEW>" is used to make a detailed outbound report
  1792.                 when the OUT or OUTVIEW command line option is used.
  1793.                 Subj, Prefix and Suffix are ignored.
  1794.         
  1795.                 "<THRU>" represents all passthru areas. If you want to
  1796.                 keep NEF from announcing files received in PassThru
  1797.                 areas, just use "NoAnnounce <THRU>".
  1798.         
  1799.             Examples:
  1800.         
  1801.                 Announce UTILNET SOFTDIST SDS*
  1802.                 NoAnnounce SDSOTH <THRU>
  1803.         
  1804.                 This announces the file areas with tag "UTILNET",
  1805.                 "SOFTDIST" and all those whose TAG starts with "SDS" but
  1806.                 not "SDSOTH" or passthru areas.
  1807.         
  1808.                 Announce PRIVFILE <BAD> <DEF>
  1809.         
  1810.                 This announces area "PRIVFILE" and all the TICs that
  1811.                 have been processed with errors; at the end, in a
  1812.                 separate message, it announces the files that have not
  1813.                 been announced elsewhere.
  1814.         
  1815.                 Announce SPECIAL <OUT>
  1816.         
  1817.                 This announces the file area with tag "SPECIAL"; at the
  1818.                 end, in a separate message, it creates a concise report
  1819.                 of the outbound.
  1820.         
  1821.                 Announce SPECIAL <OUTVIEW>
  1822.         
  1823.                 This announces the file area with tag "SPECIAL"; at the
  1824.                 end, in a separate message, it creates a verbose report
  1825.                 of the outbound.
  1826.         
  1827.         
  1828.         
  1829.                         
  1830.         
  1831.             Complete example of the announcement definition section,
  1832.             SquishCfg defined:
  1833.         
  1834.         ----------------------------------------------------------------
  1835.         
  1836.           ; Defaults definition
  1837.         
  1838.             FromNode     2:332/504.0
  1839.             ToNode       2:332/504.0
  1840.             From         Alberto Pasquale
  1841.             To           All
  1842.             Subj         New Echo Files
  1843.             Attr
  1844.             Prefix       PREFIX.NEF
  1845.             Origin       ApWorks Modena I (+39-59-246112/3)
  1846.             Suffix       SUFFIX.NEF
  1847.         
  1848.           ; Announcement areas: each statement is local to the preceding
  1849.           ; AreaTag and overrides the default one.
  1850.         
  1851.             AreaTag      APWORKS
  1852.             Announce     APBBS*
  1853.             Prefix       RelPre.NEF
  1854.             Subj         New ApWorks files
  1855.         
  1856.             AreaTag      OS2BBS
  1857.             Announce     APBBS*
  1858.             NoAnnounce   *DOS*
  1859.             Prefix       RelPre.NEF
  1860.             Subj         New APBBS files
  1861.         
  1862.             AreaTag      NETMAIL
  1863.             Announce     <OUTVIEW> <DEF>
  1864.             From         NEF
  1865.             To           Alberto Pasquale
  1866.             Subj         Not Announced Elsewhere
  1867.             HighAsciiOk
  1868.         
  1869.             AreaTag      NETMAIL
  1870.             Announce     <BAD>
  1871.             From         NEF
  1872.             To           Alberto Pasquale
  1873.             ToNode       2:332/504.1
  1874.             Subj         Processed with Errors
  1875.         
  1876.         ----------------------------------------------------------------
  1877.         
  1878.             Complete example of the announcement definition section,
  1879.             SquishCfg NOT defined:
  1880.         
  1881.         ----------------------------------------------------------------
  1882.         
  1883.           ; Defaults definition
  1884.         
  1885.             FromNode     2:332/504.0
  1886.             ToNode       2:332/504.0
  1887.             From         Alberto Pasquale
  1888.             To           All
  1889.             Subj         New Echo Files
  1890.             Attr
  1891.             Prefix       PREFIX.NEF
  1892.             Origin       <ApWorks Modena I><Tel.+39-59-246112/3>
  1893.             Suffix       SUFFIX.NEF
  1894.         
  1895.           ; Announcement areas: each statement is local to the preceding
  1896.           ; AreaPath and overrides the default one.
  1897.         
  1898.             AreaTag      SWN_332.500 d:\msg\swn -$
  1899.             Announce     UTILNET
  1900.             Subj         UTILNET file news
  1901.         
  1902.             AreaTag      SWN_332.500 d:\msg\swn -$
  1903.             Announce     FIDONEWS SDS* ECHO-* FTSC NEWSLETR SOFTDIST
  1904.             NoAnnounce   ECHO-R*
  1905.             Subj         SDS/NEWS file news
  1906.         
  1907.             AreaPath     d:\msg\net -$    ; Netmail to the SysOp
  1908.             Announce     NODE* POINTLST <BAD> <DEF> <OUTVIEW>
  1909.             From         NEF
  1910.             To           Alberto Pasquale
  1911.             ToNode       2:332/504.1
  1912.             Subj         Reserved file news
  1913.             Attr         PK      ; This must be private and kill/sent
  1914.             Origin               ; No Origin for netmail !
  1915.         
  1916.         ----------------------------------------------------------------
  1917.         
  1918.         
  1919.         
  1920.                 
  1921.         
  1922.         
  1923.                                FileFix Link Robot
  1924.         
  1925.         
  1926.         It's the traditional "Raid" or "TicFix" function: it allows
  1927.         downlinks (but also special uplinks) to link/unlink file areas
  1928.         via a netmail message.
  1929.         
  1930.         The message should have the agreed password as the subject,
  1931.         possibly followed by some switch.
  1932.         The required password is that defined in the "FileLink"
  1933.         statement described below.
  1934.         
  1935.         The body of the message contains the commands.
  1936.         There can be several commands on a single line provided they are
  1937.         separated by blanks.
  1938.         
  1939.         Password, switches and commands are case insensitive.
  1940.         
  1941.         Switches that can be used in the subject, after the password,
  1942.         only the _first_ letter is required (and checked):
  1943.         
  1944.             -Help           Help.
  1945.             -Query          List all areas (linked and available).
  1946.             -Linked         List linked areas.
  1947.             -Unlinked       List unlinked areas.
  1948.         
  1949.         
  1950.         The commands available for the message body are:
  1951.         
  1952.             [+]<WTAG>
  1953.                 Links all the areas whose TAG matches <WTAG>.
  1954.                 The '+' character is optional (useful in the case <WTAG>
  1955.                 starts with the '-' character).
  1956.         
  1957.             -<WTAG>
  1958.                 Unlinks all the areas whose TAG matches <WTAG>.
  1959.         
  1960.             %Help        same as -h
  1961.             %Query       same as -q
  1962.             %List        same as -q
  1963.             %Linked      same as -l
  1964.             %Unlinked    same as -u
  1965.         
  1966.         
  1967.         Example:
  1968.         
  1969.                 From: John Doe of 2:332/580.0
  1970.                 To:   Nef      of 2:332/504.0
  1971.                 Subj: Secret -H
  1972.                 -----------------------------
  1973.                 %Query
  1974.                 1* -1-COMM
  1975.                 +2*
  1976.                 -2-WINDOW
  1977.                 ---
  1978.         
  1979.                 The Help and Query commands are invoked, all areas whose
  1980.                 tag begins with '1' are linked, area "1-COMM" is
  1981.                 unlinked, all areas whose tag begins with '2' are linked
  1982.                 and area "2-WINDOW" is unlinked.
  1983.         
  1984.         Notes:  The actual order of command execution is based on the
  1985.                 area definition order. NEF scans the defined areas from
  1986.                 the first to the last one only once, applying for each
  1987.                 area all the pertinent commands.
  1988.         
  1989.                 If a link in a FileArea statement is not properly
  1990.                 defined in a FileLink one, it is removed when the
  1991.                 Link Robot re-writes that FileArea statement in
  1992.                 execution of an Add or Delete command.
  1993.         
  1994.                 While re-writing areas, the Link Robot will NOT re-order
  1995.                 the links. However it will respect an existing order
  1996.                 while adding new links.
  1997.         
  1998.                 If Area aka overrides are used, they are reported by
  1999.                 Area-List commands.
  2000.         
  2001.         
  2002.                         
  2003.         
  2004.         
  2005.         AutoLink <name>
  2006.         
  2007.                 The robot will answer to the messages addressed to one
  2008.                 of the addresses defined in the "system" section and to
  2009.                 one of the names defined in the AutoLink statements.
  2010.                 You can use as many AutoLink statements as you need to
  2011.                 define all the akas you like.
  2012.                 If no AutoLink statement is used, then the Link Robot is
  2013.                 disabled.
  2014.         
  2015.             Example:
  2016.         
  2017.                 AutoLink NEF
  2018.                 AutoLink Raid
  2019.                 AutoLink TicFix
  2020.         
  2021.         
  2022.                         
  2023.         
  2024.         NetMail <path> [-$] [-p<adr>]
  2025.         
  2026.                 This defines a netmail area to be searched for messages
  2027.                 addressed to the robot. You can use as many NetMail
  2028.                 statements as you need.
  2029.         
  2030.                 The optional -$ indicates a Squish format area.
  2031.         
  2032.                 The optional "-p<adr>" specifies the primary (default)
  2033.                 address for the area.
  2034.         
  2035.                 When multiple NetMails are defined, NEF needs <adr> to
  2036.                 choose (via zone matching) the right area where to write
  2037.                 the messages addressed to the FileBone's "FileFix" robo        t.
  2038.         
  2039.                 Usually all but the first netmail statements should
  2040.                 contain a primary address specification.
  2041.         
  2042.                 Note: when a Squish base is used, a pointer to the last
  2043.                 scanned message is stored in <path>.NEF, so that next
  2044.                 scan will consider new messages only.
  2045.         
  2046.             Example:
  2047.         
  2048.                 NetMail d:\msg\fidonet -$              ; default netmail area
  2049.                 NetMail d:\msg\os2net  -$ -p89:456/789 ; OS2Net netmail area
  2050.         
  2051.         
  2052.                         
  2053.         
  2054.         
  2055.         KillReceived
  2056.         
  2057.                 This keyword instructs NEF to kill messages addressed to
  2058.                 the Link Robot after the execution of the contained
  2059.                 commands. When commented out, the messages are marked as
  2060.                 received instead of being erased.
  2061.         
  2062.         
  2063.                         
  2064.         
  2065.         AreaDescWrap <indent> <right>
  2066.         
  2067.                 The descriptions returned by the "FileFix" functions
  2068.                 will be word-wrapped so that continuation lines start
  2069.                 with <indent> spaces and do not exceed column <right>.
  2070.         
  2071.             Example:
  2072.         
  2073.                 AreaDescWrap 25 79
  2074.         
  2075.         
  2076.         
  2077.                         
  2078.         
  2079.         HelpFile <filename>
  2080.         
  2081.                 This keyword defines the file to be put into the Link
  2082.                 Robot's answer in reply to a Help request.
  2083.         
  2084.                 Usually this file contains instructions for using the
  2085.                 Link Robot.
  2086.         
  2087.             Example:
  2088.         
  2089.                 HelpFile d:\bbs\nef\NefHelp.Txt
  2090.         
  2091.         
  2092.         
  2093.                         
  2094.         
  2095.         ProtArea <WTAG> <level>[/<keys>]
  2096.         
  2097.                 This keyword allows to selectively protect areas from
  2098.                 automatic linking. Unlinking is always possible.
  2099.         
  2100.                 The protection scheme is based on the traditional
  2101.                 combination of level and keys.
  2102.         
  2103.                 <WTAG>  specifies the TAG or group of TAGs to be
  2104.                         protected.
  2105.                 <level> is an integer number in the range 0-65535.
  2106.                 <keys>  is a subset of the following 32 element set:
  2107.                         {12345678ABCDEFGHIJKLMNOPQRSTUVWX}
  2108.                         These keys are case insensitive.
  2109.         
  2110.                 When processing an area TAG, NEF scans the ProtArea
  2111.                 statements from the first one to the last one: the first
  2112.                 matching <WTAG> determines the protection level and
  2113.                 keys. If no match is found, <level> is assumed to be the
  2114.                 maximum and <keys> the full set of available keys, so
  2115.                 that the area gains maximum protection.
  2116.         
  2117.                 Usually it's convenient to override the default maximum
  2118.                 protection so that you can list only a few special areas
  2119.                 with their protection level and keys while letting all
  2120.                 the others get a default NULL protection (automatic
  2121.                 linking for everybody). To accomplish this result, you
  2122.                 can use a "ProtArea * 0" as the last ProtArea statement.
  2123.         
  2124.                 Please, note that the order of the ProtArea statements is
  2125.                 _essential_, since they area scanned from the first one
  2126.                 to the last one in search for a match between the TAG in
  2127.                 examination and the <WTAG> of the ProtArea statements.
  2128.         
  2129.             Example:
  2130.                 ProtArea PRIVATE  1000/12ABC  ; Protected private area
  2131.         
  2132.                 ProtArea 1*       100/P       ; Areas starting with '1'
  2133.                                               ; are not for everybody.
  2134.         
  2135.                 ProtArea *        0           ; The remaining areas are
  2136.                                               ; for everybody.
  2137.         
  2138.         
  2139.         
  2140.                 
  2141.         
  2142.                                 FileBone Support
  2143.         
  2144.         
  2145.         NEF is able to use information distributed via the FileBone.Na
  2146.         and FileBone.No files.
  2147.         
  2148.         Many useful functions are allowed by the use of these files, so,
  2149.         even if you do not receive them from your uplink, you could
  2150.         evaluate the possibility of creating "FileBone-style" files on
  2151.         your own, just to store some information that can be retrieved
  2152.         by NEF.
  2153.         
  2154.         When FileBone-style files are used:
  2155.         
  2156.         - The Query command reports the areas available on the FileBone,
  2157.           in addition to those that are not linked to the downlink but
  2158.           already available on the local system.
  2159.         
  2160.         - Area descriptions can be returned by FileFix commands.
  2161.         
  2162.         - Level and Keys protect areas from "FileFix" linking.
  2163.           A node is entitled to add an area only if it has level and
  2164.           keys that match the requirements from BOTH the "ProtArea"
  2165.           statements in Nef.Cfg and the <lev>[/<keys>] specification
  2166.           in a FileBone format file (if available).
  2167.         
  2168.         - Requests for unlinked areas can be forwarded to the FileBone.
  2169.         
  2170.           The requests that have been forwarded to some uplink are
  2171.           stored in a file named after the configuration one, changing
  2172.           the extension to ".Fwd". Usually the configuration file is
  2173.           "Nef.Cfg", so the forwarded requests will be stored in
  2174.           "Nef.Fwd".
  2175.         
  2176.           The format is: <Tag> <Addr>, i.e. every line contains a Tag
  2177.           followed by the 4D Address of the downlink that made the
  2178.           request.
  2179.         
  2180.           When a new area is created, NEF looks into this file in order
  2181.           to find nodes to be added to the new "FileArea" definition.
  2182.         
  2183.           If a requested (and not yet defined) Tag is found in two or
  2184.           more FileBone files, the request is forwarded to the uplink
  2185.           defined in the first FileBone statement only.
  2186.         
  2187.           Don't mind if the Nef.Fwd file contains multiple entries for
  2188.           the same Tag. This can happen when multiple requests for the
  2189.           same area have been received. When the first file comes in
  2190.           and the area is created, all entries will be deleted while
  2191.           the link will be added once.
  2192.           
  2193.         
  2194.         
  2195.                         
  2196.         
  2197.         FileBone <file> [<fm> <to> <toadr> <acc> [<pre>]]
  2198.         
  2199.                 Multiple FileBone statements are allowed.
  2200.         
  2201.                 <file> is the filename of the FileBone-style file.
  2202.         
  2203.                 If you want to enable the forward of requests for new
  2204.                 areas from your downlinks to your uplink(s), you must
  2205.                 specify the following fields (to be enclosed between
  2206.                 quotes when containing space) so that they can be used
  2207.                 to write netmail messages to your uplink's FileFix:
  2208.         
  2209.                 <fm> is the "from" name.
  2210.         
  2211.                 <to> is the "to" name.
  2212.         
  2213.                 <toadr> is the "to" 4D address.
  2214.         
  2215.                 <acc> is a <level>[/keys] specification, to limit the
  2216.                       access of downlinks to request forwards addressed
  2217.                       to <toadr> for the areas described in <file>.
  2218.         
  2219.                 <pre> is an optional string to be prefixed to the area
  2220.                       Tags that are being requested.
  2221.         
  2222.             Examples:
  2223.         
  2224.                 FileBone \bbs\FileBone.Na "John Doe" SysOp 2:332/1 0
  2225.         
  2226.                 The "\bbs\FileBone.Na" file is used by NEF, also for
  2227.                 request forwards.
  2228.         
  2229.                 When a downlink requests an area that is not currently
  2230.                 defined in the NEF configuration (usually TicArea.Cfg)
  2231.                 but is described in FileBone.Na, a netmail message is
  2232.                 written by NEF from "John Doe" to "SysOp" of 2:332/1
  2233.                 using the appropriate "from address" aka and "subject"
  2234.                 (password) as per the "FileLink" definition of 2:332/1.
  2235.                 The body contains a list of the requested area Tags, one
  2236.                 per line.
  2237.         
  2238.                 No (<acc> = "0") protection is specified (any downlink
  2239.                 has access to request forwards).
  2240.         
  2241.         
  2242.                 FileBone \bbs\FB.SP "John Doe" SysOp 2:332/1 30/a +
  2243.         
  2244.                 Only downlinks with level equal or above 30 and with the
  2245.                 'A' key have access to request forwards. The requested
  2246.                 tags will be preceded by "+".
  2247.         
  2248.                 If you need a space between the '+' and the tag, then you
  2249.                 must specify a <pre> that contains a space, so you have
  2250.                 to enclose it in quotes:
  2251.         
  2252.                 FileBone \bbs\FB.SP "John Doe" SysOp 2:332/1 0 "+ "
  2253.         
  2254.         
  2255.                 
  2256.                                 FileBone Format
  2257.         
  2258.         The format for the filebone style is:
  2259.         
  2260.           Area <Tag> <lev>[/<keys>] <flags> <desc>
  2261.         
  2262.           <Tag>   is the TIC area Tag.
  2263.                   The original filebone format allows 8 character
  2264.                   maximum but NEF is not that limited.
  2265.         
  2266.           <lev>   is the protection level of the area, for "FileFix"
  2267.                   functions.
  2268.                   The original format allows the range 0-4095 while NEF
  2269.                   allows 0-65535.
  2270.         
  2271.           <keys>  are a set of protection keys (1..8, A..X).
  2272.                   Not available in the original FileBone format.
  2273.         
  2274.           <flags> is a combinaton of !.*& and possibly other characters.
  2275.         
  2276.                 By default (no flags) the area is uni-directional, from
  2277.                 the uplink to the defined downlinks.
  2278.         
  2279.                 ! : Can be found at any Filebone Hub.
  2280.                 . : Only on some Filebone Hubs.
  2281.                 * : Any node can hatch into.
  2282.                 & : Do not send to downlinks.
  2283.         
  2284.            Others : Private distribution.
  2285.         
  2286.            Examples:
  2287.         
  2288.                 ! : normal area from the uplink to its downlinks,
  2289.                     available on all Filebone Hubs.
  2290.         
  2291.               !*& : return channel from the downlinks to the
  2292.                     uplink, available on all Filebone Hubs.
  2293.         
  2294.                .* : bidirectional area (any node can hatch into),
  2295.                     available on some Filebone hubs only.
  2296.         
  2297.         
  2298.           <desc> is the description for the area.
  2299.         
  2300.         
  2301.           Example:
  2302.         
  2303.           Area APBBS    0   P ApWorks OS/2 BBS programs
  2304.           Area NODEDIFF 0/f ! FidoNet: Weekly NodeList Updates
  2305.         
  2306.         
  2307.         
  2308.                         
  2309.         
  2310.         ForwardWildReq
  2311.         
  2312.                 When a FileFix "Add" request contains wildcards, by
  2313.                 default it is NOT forwarded to the filebone.
  2314.                 This verb enables even this type of request forward.
  2315.         
  2316.         
  2317.         
  2318.                 
  2319.         
  2320.                                 Link Definitions
  2321.         
  2322.         
  2323.         The FileLink statement is used to define a link, specifying its
  2324.         password, attributes and privileges.
  2325.         
  2326.         The FileArea statement is used to define a file area, specifying
  2327.         its type and the list of connected systems (that must be defined
  2328.         via FileLink statements).
  2329.         
  2330.         
  2331.                         
  2332.         
  2333.         FileLink <address> <password> [#<address>] <flags>
  2334.                  [<attr> [<level>[/<keys>] [<WTAG> ...]]]
  2335.         
  2336.                 The parameters of this keyword have been represented on
  2337.                 two lines because of space, but they MUST be listed on a
  2338.                 unique line in the .cfg file.
  2339.         
  2340.                 This keyword defines a file link; you must use a
  2341.                 FileLink statement for each of your links (both
  2342.                 downlinks and uplinks).
  2343.         
  2344.                 <address>  is the 4D address of the link.
  2345.         
  2346.                 <password> is the case insensitive password to be used
  2347.                            for all TIC exchanges and for the Link Robot
  2348.                            function. NEF has no limit for the password
  2349.                            length, anyway you should be aware that other
  2350.                            similar programs might have limits, so check
  2351.                            with your downlink/uplink before choosing a
  2352.                            long password (8 characters should be OK for
  2353.                            everyone).
  2354.         
  2355.                 #<address> This optional field indicates a "from" 4D
  2356.                            address to be used for the .TICs sent to this
  2357.                            link (overrides the zone-match and is in turn
  2358.                            overriden by the area override (see
  2359.                            "FileArea")).
  2360.         
  2361.                 <flags>    This field is a (case insensitive) set of
  2362.                            characters:
  2363.         
  2364.                            <H|C|D|N|F>[<S|T>][<I|O|*>].
  2365.         
  2366.                            It can be 1 to 3 characters long:
  2367.         
  2368.                          - The first flag is mandatory; it defines the
  2369.                            flavour of the file-attaches that NEF will
  2370.                            create for .TIC and associated files.
  2371.         
  2372.                            Please note that this flag can be overridden
  2373.                            on a per-area basis by prefixing the link
  2374.                            address with a new flavour-flag in the
  2375.                            FileArea statement.
  2376.         
  2377.                            The available choices for this flag and the
  2378.                            consequent file-attach extension follow:
  2379.         
  2380.                            H -> .HLO (Hold)
  2381.                            C -> .CLO (Crash)
  2382.                            D -> .DLO (Direct)
  2383.                            F -> .FLO (Normal)
  2384.                            N -> .FLO (Normal)
  2385.         
  2386.                            The 'N' flag is provided for "compatibility",
  2387.                            but it's the same as 'F'.
  2388.         
  2389.                          - The second flag is optional: it defines
  2390.                            whether NEF must send a .TIC together with
  2391.                            the file or not.
  2392.         
  2393.                            S -> .TIC sent (default).
  2394.                            T -> .TIC not sent.
  2395.         
  2396.                            Usually the default is used (this flag can be
  2397.                            omitted), but sometimes points like not
  2398.                            receiving the .TIC file.
  2399.         
  2400.                            Please note that this flag can be overridden
  2401.                            on a per-area basis by prefixing the link
  2402.                            address with a new flag in the FileArea
  2403.                            statement.
  2404.         
  2405.                          - The third flag is optional. It is provided
  2406.                            for completeness and it is sometimes very
  2407.                            handy, but it is recommended not to use it
  2408.                            too often since its use might unnecessarily
  2409.                            complicate the interpretation of the
  2410.                            configuration.
  2411.         
  2412.                            It defines whether this link has
  2413.                            bidirectional access to file areas or not.
  2414.         
  2415.                            This is an override to the "area direction"
  2416.                            field of each FileArea definition.
  2417.         
  2418.                            Please note that this flag can be overridden
  2419.                            on a per-area basis by prefixing the link
  2420.                            address with a new flag in the FileArea
  2421.                            statement.
  2422.         
  2423.                            I -> Only Input is allowed from this link.
  2424.                                 NEF will not send files.
  2425.                            O -> Only output is allowed to this link.
  2426.                                 NEF will not accept files.
  2427.                            * -> Bidirectional link.
  2428.         
  2429.                 <attr>     These are the (case insensitive) attributes
  2430.                            for the Link Robot's netmail replies:
  2431.         
  2432.                            K -> Kill/Sent
  2433.                            C -> Crash
  2434.                            H -> Hold
  2435.                            D -> Direct (equivalent to "CH")
  2436.                            N -> Normal (default)
  2437.                            O -> Normal (default)
  2438.         
  2439.                            The Private attribute is always implied.
  2440.         
  2441.                            ATTENTION: you should usually use the 'H'
  2442.                            attribute for file links that are not netmail
  2443.                            links too. Otherwise the "Normal" flavoured
  2444.                            netmail replies will be routed as per your
  2445.                            routing configuration instead of being holded
  2446.                            for the file link.
  2447.         
  2448.                 <level>    This is an integer number in the range
  2449.                            0-65535 and represents the access level to
  2450.                            the Link Robot for this node. Defaults to 0.
  2451.         
  2452.                            If it is greater or equal to the protection
  2453.                            level of a certain file area, then this node
  2454.                            can link the area via the Link Robot,
  2455.                            provided it has the necessary keys.
  2456.         
  2457.                 <keys>     is a subset of the following 32 element set:
  2458.                            {12345678ABCDEFGHIJKLMNOPQRSTUVWX}
  2459.                            and represents the (case insensitive) access
  2460.                            keys to the Link Robot for this node.
  2461.         
  2462.                            If <keys> contains all the keys that protect
  2463.                            a certain area, then the node can link the
  2464.                            area via the Link Robot, provided it has a
  2465.                            sufficient access level.
  2466.         
  2467.                 <WTAG>     The optional list of <WTAG>s specifies the
  2468.                            area TAGs that must be automatically linked
  2469.                            to this node when they are automatically
  2470.                            created by NEF.
  2471.         
  2472.                            New areas can be automatically created when
  2473.                            unknown TAGs are found in ingoing .TICs (see
  2474.                            "NewAreasFrom" above in this reference).
  2475.                            You can make NEF automatically link the
  2476.                            downlink to the areas that match the <WTAG>
  2477.                            specification(s).
  2478.         
  2479.         
  2480.             Examples:
  2481.         
  2482.         
  2483.               - FileLink 2:332/593 pwd593 IN
  2484.         
  2485.                 Node 2:332/593 has password "pwd503", is enabled to send
  2486.                 .TICs to us ('I') and the file attaches addressed to it
  2487.                 (if any) will be normal flavoured ('N').
  2488.         
  2489.                 Note that file attaches to this node will only be
  2490.                 possible if a local area override will be used, since
  2491.                 the 'I' flag instructs NEF to accept files from the node
  2492.                 but not to send to it.
  2493.         
  2494.                 Nothing is specified about the Link Robot's reply flags
  2495.                 and access level and keys, so this node will be able to
  2496.                 link only areas with protection level 0 and no keys; the
  2497.                 Robot's reply will be normal flavoured.
  2498.         
  2499.               - FileLink 2:331/196.1 pwd1961 H NK 300/ab
  2500.         
  2501.                 Node 2:331/196.1 has password "pwd1961", nothing is
  2502.                 specified about link direction (it will depend on the
  2503.                 "area direction" and local overrides), the file attaches
  2504.                 will be Hold flavoured ('H'), the reply netmails will be
  2505.                 normal flavoured ('N') and kill/sent ('K'), the access
  2506.                 level is 300 and the access keys are a,b.
  2507.         
  2508.               - FileLink 2:332/1 pwd1 #2:332/500 H N 900/ab MI* *OS2*
  2509.         
  2510.                 Node 2:332/1 has password "pwd1", all the TICs sent to
  2511.                 this node will use the from-address 2:332/500 (provided
  2512.                 there is no aka override at the "FileArea" level), the
  2513.                 file attaches will be Hold flavoured ('H'), the netmail
  2514.                 replies will be normal flavoured ('N'), the access level
  2515.                 is 900 and the access keys a,b.
  2516.         
  2517.                 New areas whose TAG begins with "MI" or contains "OS2"
  2518.                 will be automatically linked when they are automatically
  2519.                 created by NEF.
  2520.         
  2521.         
  2522.                         
  2523.         
  2524.         FileArea <TAG> <path> I|O|* [#<address>] [-0] [[<flags>]<link> ...]
  2525.         
  2526.                 This keyword defines an echo file area.
  2527.         
  2528.                 If you have a small system, you can put the area
  2529.                 definitions in the main configuration file (e.g.
  2530.                 NEF.CFG). For systems with a large number of areas and
  2531.                 links, it is recommended to use a separate file for the
  2532.                 area definitions: see the "TicAreaCfg" keyword, formerly
  2533.                 discussed in this documentation.
  2534.         
  2535.                 ATTENTION: when using the "TicAreaCfg" separate file,
  2536.                 you must put ALL the FileArea statements in that file.
  2537.                 You are not allowed to put area definitions both in the
  2538.                 main .cfg file and in the dedicated TicAreaCfg file at
  2539.                 the same time !
  2540.         
  2541.                 Please note that all the FileArea statements, if
  2542.                 included in the main .cfg file, MUST be defined _after_
  2543.                 the FileLink statements.
  2544.         
  2545.                 <TAG> is the area TAG.
  2546.         
  2547.                 <path> is the directory for the file area.
  2548.         
  2549.                 I|O|*  is the (case insensitive) "area direction" and
  2550.                        defines the default direction for the area:
  2551.         
  2552.                     'I': we accept files from the listed nodes but do
  2553.                          not send to them, unless an override flag is
  2554.                          present before the <link> or in the pertinent
  2555.                          "FileLink" definition.
  2556.         
  2557.                          This should usually be used for "pre" areas, in
  2558.                          which files must be collected from downlinks
  2559.                          and sent to the area coordinator via the
  2560.                          uplink, which will probably need a local 'O'
  2561.                          override.
  2562.         
  2563.                     'O': we send files to the listed nodes but do not
  2564.                          accept from them, unless an override flag is
  2565.                          present before the <link> or in the pertinent
  2566.                          "FileLink" definition.
  2567.         
  2568.                          This should usually be used for areas that must
  2569.                          be distributed to downlinks. The uplink will
  2570.                          need a local 'I' override before its <link>
  2571.                          field or a global one in its FileLink
  2572.                          definition.
  2573.         
  2574.                     '*': the area is bidirectional, so we both send and
  2575.                          accept files to/from the listed nodes, unless
  2576.                          an override flag is present before the <link>
  2577.                          or in the pertinent "FileLink" definition.
  2578.         
  2579.                          This should be used for bidirectional areas, in
  2580.                          which everybody is allowed to "hatch" files.
  2581.         
  2582.                 #<address>: defines the primary address to be used for
  2583.                          this area; overrides both the default
  2584.                          zone-match and the aka overrides in "FileLink"
  2585.                          definitions
  2586.         
  2587.                      -0: When the "-0" (zero) is specified, the area is
  2588.                          "Passthru", that is its files will be deleted
  2589.                          when already sent to all the downlinks. Please
  2590.                          note that ANY file (apart from FILES.*) present
  2591.                          in the <path> and not attached to any system
  2592.                          will be deleted.
  2593.         
  2594.                          NEF must be explicitly instructed to delete the
  2595.                          old files in passthru areas, usually in some
  2596.                          maintenance event.
  2597.         
  2598.                          See also the "-p" and "CLEAN" command line
  2599.                          options.
  2600.         
  2601.                 The list of linked nodes follows; each node can have
  2602.                 some <flags> attached before the node address. The
  2603.                 available flags are the same as for the <flags> field in
  2604.                 the "FileLink" statement.
  2605.         
  2606.                 <flags>    This is an optional (case insensitive) field
  2607.                            made up of 1 to 3 characters:
  2608.                            [H|C|D|N|F][S|T][I|O|*].
  2609.         
  2610.                          - The first flag defines the flavour of the
  2611.                            file-attaches that NEF will create for .TIC
  2612.                            and associated files.
  2613.         
  2614.                            Please note that this flag overrides that in
  2615.                            the pertinent "FileLink" statement.
  2616.         
  2617.                            The available choices for this flag and the
  2618.                            consequent file-attach extension follow:
  2619.         
  2620.                            H -> .HLO (Hold)
  2621.                            C -> .CLO (Crash)
  2622.                            D -> .DLO (Direct)
  2623.                            F -> .FLO (Normal)
  2624.                            N -> .FLO (Normal)
  2625.         
  2626.                            The 'N' flag is provided for "compatibility",
  2627.                            but it's the same as 'F'.
  2628.         
  2629.                          - The second flag defines whether NEF must send
  2630.                            a .TIC together with the file or not.
  2631.         
  2632.                            S -> .TIC sent.
  2633.                            T -> .TIC not sent.
  2634.         
  2635.                            Please note that this flag overrides that in
  2636.                            the pertinent "FileLink" statement.
  2637.         
  2638.                          - The third flag defines the direction of the
  2639.                            link.
  2640.         
  2641.                            Please note that this flag overrides that in
  2642.                            the pertinent "FileLink" statement, which in
  2643.                            turn overrides the "area direction".
  2644.         
  2645.                            I -> Only Input is allowed from this link.
  2646.                                 NEF will not send files.
  2647.                            O -> Only output is allowed to this link.
  2648.                                 NEF will not accept files.
  2649.                            * -> Bidirectional link.
  2650.         
  2651.                 <link>     This is a 4D address, that can be abbreviated
  2652.                            whenever the preceding address has the same
  2653.                            zone, zone:net or zone:net/node.
  2654.         
  2655.                            For the first <link>, if incomplete, the
  2656.                            primary address for the area is used; anyway
  2657.                            NEF always writes the first address in
  2658.                            complete form when rewriting the area due to
  2659.                            a Link Robot command.
  2660.         
  2661.             Examples:
  2662.         
  2663.             Please note that the situation might be a little different
  2664.             from what explained below, since the FileLink definitions
  2665.             could have some overriding flags.
  2666.         
  2667.         
  2668.             FileArea AREA1 d:\file\area1 O I2:332/1 504.1 .2 1:2/3
  2669.         
  2670.             Typical area definition, where we receive from the
  2671.             uplink (marked with 'I') and forward to the listed downlinks
  2672.             (area direction 'O').
  2673.         
  2674.         
  2675.             FileArea AREA2 d:\file\area2 O -0 I2:332/1 504.1 .2 1:2/3
  2676.         
  2677.             Same as above, but passthru.
  2678.         
  2679.         
  2680.             FileArea AREA3 d:\file\area3 I O2:5/1 3/1 332/504.2 .3
  2681.         
  2682.             This is a "reverse" area, where we receive from the listed
  2683.             nodes (area direction 'I') and send to the one marked with
  2684.             'O'.
  2685.         
  2686.         
  2687.             FileArea AREA4 d:\file\area4 * 2:5/1 3/1 332/504.2 .3
  2688.         
  2689.             This is a bidirectional area (direction '*'), where we
  2690.             receive from any of the listed nodes and forward to all the
  2691.             others.
  2692.         
  2693.         
  2694.             FileArea AREA5 d:\file\area5 O #2:332/500 I2:332/596 C555
  2695.         
  2696.             A normal "up-link to down-links" area ('O'); we use
  2697.             2:332/500 as the primary address, accept files from
  2698.             2:332/596 and forward to 2:332/555 with a crash flavoured
  2699.             file attach.
  2700.         
  2701.         
  2702.             FileArea AREA6 d:\file\area6 O S2:332/504.1 10:10/0 *100/1
  2703.         
  2704.             Normal "up-link to down-links" area ('O'); 10:100/1 is the
  2705.             only node enabled to send to us (bidirectional override
  2706.             '*'); we forward to 2:332/504.1 and 10:10/0. If we hatch
  2707.             files, we send to 10:100/1 too, since it is bidirectional.
  2708.             We send the .TIC accompanying files to 2:332/504.1 ('S')
  2709.             even if it had a 'T' flag in its FileLink definition.
  2710.         
  2711.         
  2712.  
  2713.         
  2714.                         
  2715.         
  2716.                             COMPRESS DEFINITION FILE
  2717.         
  2718.         
  2719.         The file specified in the CompressCfg statement is a sequence of
  2720.         Archive definition blocks, each one starting with "Archiver" and
  2721.         ending with "End Archiver". You can find an example in the
  2722.         Compress.Cfg file included in the NEF distribution pack.
  2723.         
  2724.         The order of the archive definition blocks within this file may
  2725.         be important: when trying to unpack a compressed file, the list
  2726.         of archivers is scanned in a reverse order.
  2727.         
  2728.         In the case of two archivers that use the same identification
  2729.         string (e.g. ARC and PAK), you must specify the archiver that
  2730.         can unpack both (PAK) after the other one (ARC).
  2731.         
  2732.         The compress.cfg file can be shared between DOS and OS/2
  2733.         applications: the "DOS" and "OS2" keywords are available to
  2734.         distinguish between the commands to be used under DOS and OS/2.
  2735.         O.S. specific archivers or commands must be prefixed with the
  2736.         relevant keyword.
  2737.         
  2738.         IMPORTANT NOTE: The lines that begin with "DOS" or "OS2" are
  2739.         parsed by the corresponding version of NEF. If you need the OS/2
  2740.         version to execute a DOS command, you MUST NOT use the DOS
  2741.         keyword: if you do, it will never parse that line; if you do
  2742.         not, ir will execute the DOS command "normally", provided you
  2743.         have installed OS/2's Dos support.
  2744.         
  2745.         See the examples below.
  2746.         
  2747.         
  2748.                         
  2749.         
  2750.         Archiver <ARCname>
  2751.         
  2752.                 Starts the Archive definition block.
  2753.         
  2754.                 <ARCname> is the name used to identify this archiver.
  2755.         
  2756.             Example:
  2757.         
  2758.                 Archiver ZIP
  2759.         
  2760.         
  2761.         
  2762.                         
  2763.         
  2764.         Extension  <ext>
  2765.         
  2766.                 Specifies the default extension for the compressed
  2767.                 files.
  2768.         
  2769.             Example:
  2770.         
  2771.                 Extension ZIP
  2772.         
  2773.         
  2774.         
  2775.                         
  2776.         
  2777.         Ident <ofs>,<ID>
  2778.         
  2779.                 <ofs> is a decimal integer number representing the
  2780.                 offset at which an archive identity marker <ID> must be
  2781.                 present.
  2782.         
  2783.                 Negative values can be used to indicate offsets from the
  2784.                 END of a compressed file. -1 means "the last byte", -2
  2785.                 "the second last byte" and so on.
  2786.         
  2787.                 <ID> is a series of hexadecimal figures which represent
  2788.                 the bytes of the marker string that must be present at
  2789.                 the specified offset of the archive file.
  2790.         
  2791.             Example:
  2792.         
  2793.                 Ident 0,504b0304  ; "PK^c^d"
  2794.         
  2795.         
  2796.         
  2797.                         
  2798.         
  2799.         Add <command>
  2800.         
  2801.                 Specifies the command to add files to an archive.
  2802.                 %a and %f are translated to the name of the archive and
  2803.                 file to add.
  2804.         
  2805.             Example:
  2806.         
  2807.                 Add zip -jk %a %f
  2808.         
  2809.         
  2810.         
  2811.                         
  2812.         
  2813.         Extract <command>
  2814.         
  2815.                 Specifies the command to extract files from an archive.
  2816.                 %a and %f are translated to the name of the archive and
  2817.                 file to extract.
  2818.         
  2819.             Example:
  2820.         
  2821.                 Extract unzip -qqnjC %a %f
  2822.         
  2823.         
  2824.         
  2825.                         
  2826.         
  2827.         View <command>
  2828.         
  2829.                 This line is recognized and accepted for compatibility,
  2830.                 but not used.
  2831.         
  2832.         
  2833.         
  2834.                         
  2835.         
  2836.         End Archiver
  2837.         
  2838.                 This statement is used to close a Archive definition.
  2839.         
  2840.         
  2841.         
  2842.                         
  2843.                                     Examples
  2844.         
  2845.         
  2846.             Complete example 1 (you need OS/2 only):
  2847.         
  2848.         Archiver ZIP
  2849.              Extension     ZIP
  2850.              Ident         0,504b0304
  2851.              Add           zip -jk %a %f
  2852.              Extract       unzip -qqnjC %a %f
  2853.              View          unzip -v %a
  2854.         End Archiver
  2855.         
  2856.         
  2857.             Complete example 2 (you need DOS only):
  2858.         
  2859.         Archiver ZIP
  2860.              Extension     ZIP
  2861.              Ident         0,504b0304
  2862.              Add           pkzip -a %a %f
  2863.              Extract       pkunzip -n %a %f
  2864.              View          pkzip -v %a
  2865.         End Archiver
  2866.         
  2867.         
  2868.             Complete example 3 (you need both OS/2 and DOS):
  2869.         
  2870.         Archiver ZIP
  2871.              Extension     ZIP
  2872.              Ident         0,504b0304
  2873.         OS2  Add           zip -jk %a %f
  2874.         DOS  Add           pkzip -a %a %f
  2875.         OS2  Extract       unzip -qqnjC %a %f
  2876.         DOS  Extract       pkunzip -n %a %f
  2877.         OS2  View          unzip -v %a
  2878.         DOS  View          pkzip -v %a
  2879.         End Archiver
  2880.         
  2881.         
  2882.             Complete example 4 (archiver to be used under DOS only):
  2883.         
  2884.         DOS Archiver ZOO
  2885.         DOS     Extension       ZOO
  2886.         DOS     Ident           0,5a4f4f                        ; "ZOO"
  2887.         DOS     Add             zoo a: %a %f
  2888.         DOS     Extract         zoo e:O %a %f
  2889.         DOS     View            zoo v %a
  2890.         DOS End Archiver
  2891.         
  2892.         
  2893.             Complete example 5 (it's a DOS executable, to be used under
  2894.                                 DOS or OS/2 indifferently):
  2895.         
  2896.         Archiver ZOO
  2897.              Extension       ZOO
  2898.              Ident           0,5a4f4f                        ; "ZOO"
  2899.              Add             zoo a: %a %f
  2900.              Extract         zoo e:O %a %f
  2901.              View            zoo v %a
  2902.         End Archiver
  2903.  
  2904.         
  2905.                 
  2906.         
  2907.                                S H A R E W A R E
  2908.         
  2909.         
  2910.         If you like this program and continue using it, you should pay
  2911.         the author for his work, as per the ShareWare concept of
  2912.         distribution.
  2913.         
  2914.         Please see LICENSE.DOC and REGISTER.DOC for information.
  2915.         
  2916.         Thank you for your interest in ApWorks programs.
  2917.         
  2918.         
  2919.